Common Data Type

The following are data types commonly used in JavaScript

  1. Boolean ( true, false )
  2. Null ( null )
  3. Undefined ( undefined )
  4. Number ( 1, 4, 7, 231, 51, 11, 9 )
  5. BigInt ( 9007199254740991n )
  6. String ( 'Hello', 'World', 'Uzbekistan' )
  7. Symbol ( let sym1 = Symbol() )
  8. Objects ( {a: 123}, [1] )

js-datatypes