Results 21 - 40 of 296
The toSource()
method returns code that could eval to the same error.
The
toString()
method returns a string representing the specified
Error
object.
The
Function.prototype
property represents the
Function
prototype object.
The toString()
method returns a string representing the source code of the function.
The
Number.prototype
property represents the prototype for the
Number
constructor.
The toExponential()
method returns a string representing the Number object in exponential notation.
The toFixed()
method formats a number using fixed-point notation.
The
toPrecision()
method returns a string representing the
Number
object to the specified precision.
The toSource()
method returns a string representing the source code of the object.
The
toString()
method returns a string representing the specified
Number
object.
The
valueOf()
method returns the wrapped primitive value of a
Number
object.
Returns a reference to the
Object
function that created the instance's prototype. Note that the value of this property is a reference to the function itself, not a string containing the function's name. The value is only read-only for primitive values such as
1
,
true
and
"test"
.
The hasOwnProperty()
method returns a boolean indicating whether the object has the specified property.
The isPrototypeOf()
method tests for an object in another object's prototype chain.
The propertyIsEnumerable()
method returns a Boolean indicating whether the specified property is enumerable.
The toLocaleString()
method returns a string representing the object. This method is meant to be overridden by derived objects for locale-specific purposes.
The toSource()
method returns a string representing the source code of the object.
The toString()
method returns a string representing the object.
The valueOf()
method returns the primitive value of the specified object.
The watch()
method watches for a property to be assigned a value and runs a function when that occurs.