JavaScript Numbers

JavaScript has only one type of number. Numbers can be written with or without decimals. Example var x = 123e5;    // 12300000 var y = 123e-5;   // 0.00123 Code#00:

Output: …

Read More →

Javascript Data Types

JavaScript provides different data types to hold different types of values. There are two types of data types in JavaScript. Primitive data type Non-primitive (reference) data type …

Read More →