Javascript Number Object
The JavaScript Number object represents numerical data which can be integers or floating-point numbers. How to create a Javascript number object: 1. By using number literals. 2. By using Number() constructor. By using number literals: When we create a number literal browser automatically converts it to a Number object. Syntax: var num1 = value; Example: … Read more