Like other programming languages, Javascript has some data types. Every we use those data types in our code.

  1. String type: string type data allows write a character on a single quote or double quote. For Example “Javascript”.
  2. Number: Numbers allow write Integer or floating numbers. We can write 10 or 10.25. We should not define that number as integer or float.
  3. Boolean: Its mean condition either true neither false.
  4. Object: Object help to store data collections. There are some object like
  • Function
  • Array
  • Date
  • RegExp
Photo by Cookie the Pom on Unsplash

--

--

Rafi kadir

Rafi kadir

MERN Stack Developer | Love Front End Development | JavaScript | ReactJS