Data Type Reference
Next ❯Operator Reference
- turned_in_notData Types
Data Type Used typeof Boolean true or false , 1 or 0 boolean Number 1 number String "hello" string Array [1,2,3] object Object {a:1,b:2} object Function function ab( ){ } function undefined let z; undefined variables undefined null let z = null object Map new Map(), Advancement of Object object Set new Set([1,2,2,3]); results all unique values, advance to array object WeakMap Same as "Map" but with limited features object WeakSet Same as "Set" but with limited features object Symbol let z = Symbol("box") symbol custom with class and function object
❮ Prev Reserve words
Next ❯Operator Reference