The Javascript Number object sports a set of constants and methods for script authors when they work with numeric data.
All three of the approaches above are acceptable syntax for establishing a number in Javascript.
• MAX_VALUE - represents the maximum value
• MIN_VALUE - represents the minimum value
• NaN - represents not a number value
• NEGATIVE_INFINITY - represents negative infinite value
• POSITIVE_INFINITY - represents positive infinite value
Properties of the number object are constants, which means they are values that do not change.
• toExponential - returns exponential notation of a number
• toFixed - returns fixed point notation of a number
• toPrecision - returns fixed point notation to a specified precision
• toString - return a string that represents the number(convert number to string object)
• valueOf - return the primitive value of a number