Data Types - jpjohnsonjr/learning-notes GitHub Wiki

The "building blocks of all languages." Javascript has four primitive data types:

  • Strings — Any group of keyboard characters, surrounded by single quotes or double quotes, i.e. 'New York City`.
  • Numbers — Any number, including w/ decimal
  • Booleans — Either true or false with no quotations.
  • Null — Can only be null.

Return to Introduction-to-Javascript.