DEV Community 👩‍💻👨‍💻

Saif Al Siam
Saif Al Siam

Posted on

Data Types JS {Day -18}

100daysofcode { Day -18 }

Today I learned some important things about JavaScript.

There are two types of data: primitive data and non-primitive data.
Primitive data type:
=> Number, string, boolean, undefined, null, symbol
Non-primitive data types:
=> Objects and arrays

Also learned the difference between == and ===, the difference between block scope and global scope, also learned the difference between null and undefined.
Alt Text

javascript #programming #codinglife #devcommunity

Top comments (0)

Need a better mental model for async/await?

Check out this classic DEV post on the subject.

⭐️🎀 JavaScript Visualized: Promises & Async/Await

async await