JAVASCRIPT TYPES AND VALUES EXPLAINED(Pitch)

Javascript is a dynamically typed language, which means variable types are identified at run time (done implicitly by the interpreter). As opposed to statically typed languages like Java and C++, where the developer have to explicitly define the type for each variable declared.

As a Javascript developer having a good understanding of types in Javascript, will give you an holistic view of the language and make you more confident as a Javascript developer.

GOAL

 
In this article readers will learn the following:

  • The difference between a dynamic and static type language
  • The difference between a type and a value in Javascript
  • The primitive types and vallues
  • The Object type
  • Different Object properties
  • Object property descriptor and attributes
  • Built-in Javascript Objects
  • The difference between Arrays and Typed Arrays (Indexed Collections)
  • How primitive and reference values are copied
  • How the Javascript stack and heap memory works with primitive and reference values

OUTLINE

  • STATIC VS DYNAMIC TYPE LANGUAGE

  • TYPE VS VALUE

  • THE PRIMITIVE TYPES

    • undefined

    • null

    • Booleans

    • Strings

    • Numeric types

      • Number
      • Nan
      • Big Int
    • Symbol

  • THE OBJECT TYPE

    • Object Properties
    • Object Property Descriptor And Attributes
    • Built-in Objects
  • PRIMITIVE AND REFERENCE VALUES

    • Stack And Heap Memory
    • Copying Primitive Values
    • Copying Reference Values
  • CONCLUSION

    • Summary Of The Article
Select a repo