Data Types

Data Types

JavaScript has several built-in data types:

  • string: "hello"
  • number: 42
  • boolean: true / false
  • null: intentional absence of a value
  • undefined: declared but not assigned
  • object: collections of key-value pairs
Sign in to track your progress.

Q&A / Discussion

No comments yet. Be the first to ask a question!

Sign in to join the discussion.