

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What is the concept of Data Types in JavaScript?
JavaScript allows you to work with three primitive data types −
- Numbers, eg. 123, 120.50 etc
- Strings of text e.g. "This text string" etc.
- Boolean e.g. true or false.
JavaScript also defines two trivial data types, null and undefined, each of which defines only a single value. In addition to these primitive data types, JavaScript supports a composite data type known as object. We will cover objects in detail in a separate chapter.
JavaScript does not make a distinction between integer values and floating-point values. All numbers in JavaScript are represented as floating-point values. JavaScript represents numbers using the 64-bit floating-point format defined by the IEEE 754 standard.
- Related Questions & Answers
- What is the concept of thread?
- What is the concept of Divestiture?
- What is the concept of hedging?
- What is Elementary Data Types?
- What is the concept of Monolithic kernel?
- What is the concept of Rolling Settlement?
- What are JavaScript data types and data structures?
- What are primitive data types in JavaScript?
- What are Complex Data types in JavaScript?
- What is the techniques of Discretization and Concept Hierarchy Generation for Categorical Data?
- What are the types of data integrity?
- What is the concept of datagram packet switching?
- What is the concept of system call mechanism?
- What is the concept of interest rate swaps?
- What are the types of data warehouse quality?
Advertisements