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)

Jetbrains image

Build Secure, Ship Fast

Discover best practices to secure CI/CD without slowing down your pipeline.

Read more

πŸ‘‹ Kindness is contagious

Engage with a wealth of insights in this thoughtful article, valued within the supportive DEV Community. Coders of every background are welcome to join in and add to our collective wisdom.

A sincere "thank you" often brightens someone’s day. Share your gratitude in the comments below!

On DEV, the act of sharing knowledge eases our journey and fortifies our community ties. Found value in this? A quick thank you to the author can make a significant impact.

Okay