|
sfcode
An Online Competing and Development Environment
|
number primitive
Restricted number coercion. Returns number presentation for every value that follows below constraints
null nor undefinedNaN and doesn't coerce to NaNFor all other values null is returned
If given argument is a number coercible value (via number/coerce) returns result number. Otherwise TypeError is thrown.