8000 #3 JavaScript data types and data structures · Issue #3 · gw-rodrigues/github-blog-react-ts · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
#3 JavaScript data types and data structures #3
Open
@gw-rodrigues

Description

@gw-rodrigues

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0