DEV Community

Cover image for Learning the Primitive types of JavaScript
Saqib Suleman
Saqib Suleman

Posted on

Learning the Primitive types of JavaScript

Firstly we learned about the primitive types Numbers and Strings, which are just as the name suggest that if we input number they are treated as a mathematical number and strings are treated as a string of information that we have inserted. Next up, we see Booleans which are just a true and false response from the script and other primitive types which are null meaning empty and undefined meaning not-defined or non-existing in our script.

Top comments (0)