Question:What are Data Types in JavaScript? 

Answer In JavaScript Data types are divided into two basic categories, primitive and compound.Primitive Data Types:Boolean values, numbers, strings, and the null and undefined values all constitute primitive data types.Compound Data Types: Compound data types are made of more than one components. Two primitive data types, such as 10 multiplied by 7, can make up compound data. 

+ Report
Total Preview: 987
What are Data Types in JavaScript?
Copyright © 2024. Powered by Intellect Software Ltd