What are the differ…
 
Notifications
Clear all

What are the different data types in JavaScript?

1 Posts
2 Users
0 Likes
214 Views
0
Topic starter

What are the different data types in JavaScript?

1 Answer
0

Data types that are known as primitive values in JavaScript are numbers, strings, booleans, null, undefined. Objects such as functions and arrays are referred to as non-primitive values. The fundamental difference between primitives and non-primitives is that primitives are immutable and non-primitives are mutable.

Share: