throw
statement allows you to create an exception.
If you use this statement together with the try...catch
The example determines the value of a variable called x .
A proper error message is displayed if the value of x is
|
|
isNaN
function evaluates an argument to determine if it is not a number.
It is a top-level function and is not associated with any object.
split([separator][, limit])
of the object String
splits a string into an array of strings by separating the string into substrings where
separator
specifies the character for separating the string, and
limit
specifies a limit on the number of splits to be found.