Data Types in Javascript

  1. 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.
  2. Boolean: Its mean condition either true neither false.
  3. Object: Object help to store data collections. There are some object like
  • Array
  • Date
  • RegExp
Photo by Cookie the Pom on Unsplash

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store