Data Type Reference

Next ❯Operator Reference

  • turned_in_notData Types
    Data TypeUsedtypeof
    Booleantrue or false , 1 or 0boolean
    Number1number
    String"hello"string
    Array[1,2,3]object
    Object{a:1,b:2}object
    Functionfunction ab( ){ }function
    undefinedlet z; undefined variablesundefined
    nulllet z = nullobject
       
    Mapnew Map(), Advancement of Objectobject
    Setnew Set([1,2,2,3]); results all unique values, advance to arrayobject
    WeakMapSame as "Map" but with limited featuresobject
    WeakSetSame as "Set" but with limited featuresobject
      
    Symbollet z = Symbol("box")symbol
      
    customwith class and functionobject

  • Operator Reference
❮ Prev Reserve words
Next ❯Operator Reference
TryOut Examples"Learn to Explore..!"

TryOut Editor

receipt