Skip to content

Instantly share code, notes, and snippets.

@dwivediamit
Created April 25, 2022 13:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dwivediamit/4152f126deedab69b7c2050d38883f44 to your computer and use it in GitHub Desktop.
Save dwivediamit/4152f126deedab69b7c2050d38883f44 to your computer and use it in GitHub Desktop.

JavaScript primitive data types

In JavaScript, a primitive (primitive value, primitive data type) is data that is not an object and has no methods. There are 7 primitive data types: string, number, bigint, boolean, undefined, symbol, and null.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment