Data Types in JavaScript

Using typeof operator on numbers
NOTE*Keep in mind that as JavaScript has become a language for the backend and front end, because of its imprecision for numbers, keeps it from development in banking or engineering applications where precision is vital.
Using typeof operator on strings
Using typeof operator on booleans
Using typeof operator on objects

Resources:

MDN — JavaScript data types and data structures

--

--

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