sfcode
An Online Competing and Development Environment
|
string primitive
Restricted string coercion. Returns string presentation for every value that follows below constraints
null
nor undefined
toString
method is not Object.prototype.toString
For all other values null
is returned
If given argument is a string coercible value (via string/coerce
) returns result string. Otherwise TypeError
is thrown.