JavaScript Number
Nov 2, 2020
When used as a function, Number(value)
converts a string or other value to the Number type. If the value can't be converted, it returns NaN
.
Number('abc');
output: NaN
The maximum safe integer in JavaScript (
253 - 1
).The minimum safe integer in JavaScript (
-(253 - 1)
).