๋ณธ๋ฌธ์œผ๋กœ ๊ฑด๋„ˆ๋›ฐ๊ธฐ

์›์‹œ ๊ฐ’(Primitive)

JavaScript#

  • Undefined (undefined), used for unintentionally missing values.
  • Null (null), used for intentionally missing values.
  • Booleans (true and false), used for logical operations.
  • Numbers (-100, 3.14, and others), used for math calculations.
  • BigInts (uncommon and new), used for math on big numbers.
  • Strings ("hello", "abracadabra", and others), used for text.
  • Symbols (uncommon), used to perform rituals and hide secrets.

Reference#