Member-only story

Data types in Javascript

Data types — #1 of the 40 Essentials of Javascript

Indy Seh
4 min readDec 23, 2022

To be a successful Front Developer, one has to have strong foundation of Javascript. This series attempts to cover all the important concepts of the language.

By the way, I have an Instagram Reel and Youtube Short on this Article, if you guys prefer that, please click here: Data types — Insta Reel , Data types — Youtube Short.

Photo by Greg Rakozy on Unsplash

Programming languages all have built-in data structures, however these often differ from one language to another. This article describes both Primitive and Non-Primitive data types in Javascript.

Primitive Data Type

In Javascript, primitive type is predefined by the language and it is data that is not an object and has methods or properties. There are 7 primitive types in Javascript.

  • string
  • number
  • undefined
  • BigInt
  • Boolean
  • Symbol
  • null

Lets have a deeper look into the datatypes.

  • string — A string is a sequence of one or more characters that may consist of letters, numbers, or symbols and this object is wrapped around a string primitive.

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Indy Seh
Indy Seh

Written by Indy Seh

Python | Go | Javascript | Typescript | Frontend | Backend

No responses yet

Write a response