What is primitive data types in javascript?



What is primitive data types in javascript?..

Answer / Piyush Kumar Singh

In JavaScript, the primitive data types include: Number (integers and floating-point numbers), String (text), Boolean (true or false), Null (empty value), Undefined (variable with no value assigned), and Symbol (unique identifiers for objects).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JavaScript Interview Questions

What is event bubbling and capturing in javascript?

1 Answers  


What is a prompt box in javascript?

1 Answers  


What are data structures in javascript?

1 Answers  


Explain how to write class methods vs. Instance methods.

1 Answers  


Explain how to read and write a file using javascript?

1 Answers  


Does javascript support foreach loop?

1 Answers  


What do mean by NULL in Javascript?

1 Answers  


What is undefined in math?

1 Answers  


What is closure? Give an example.

1 Answers  


What is ‘this’ keyword in JavaScript?

1 Answers  


Can array in javascript be extended?

1 Answers  


Is javascript used for backend?

1 Answers  


Categories