Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#1 JavaScript data types and data structures #1

Open
gw-rodrigues opened this issue Jan 15, 2023 · 0 comments
Open

#1 JavaScript data types and data structures #1

gw-rodrigues opened this issue Jan 15, 2023 · 0 comments

Comments

@gw-rodrigues
Copy link
Owner

gw-rodrigues commented Jan 15, 2023

Programming languages all have built-in data structures, but these often differ from one language to another. This article attempts to list the built-in data structures available in JavaScript and what properties they have. These can be used to build other data structures. Wherever possible, comparisons with other languages are drawn.

Dynamic typing
JavaScript is a loosely typed and dynamic language. Variables in JavaScript are not directly associated with any particular value type, and any variable can be assigned (and re-assigned) values of all types:

let foo = 42; // foo is now a number
foo = ‘bar’; // foo is now a string
foo = true; // foo is now a boolean
@gw-rodrigues gw-rodrigues changed the title JavaScript data types and data structures #1 JavaScript data types and data structures Jan 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant