Archive
Function
Object
Object.prototype.__defineGetter__()
Object.prototype.__defineSetter__()
Object.prototype.__lookupGetter__()
Object.prototype.__lookupSetter__()
Object.prototype.hasOwnProperty()
Object.prototype.isPrototypeOf()
Object.prototype.propertyIsEnumerable()
Object.prototype.toLocaleString()
Object.prototype.toSource()
Object.prototype.toString()
Object.prototype.unwatch()
Object.prototype.valueOf()
Object.prototype.watch()
Object.setPrototypeOf()
Obsolete
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.
Obsolete JavaScript features and unmaintained docs
arguments.caller
property used to provide the function that invoked the currently executing function. This property has been removed and no longer works.Array.observe()
method was used for asynchronously observing changes to Arrays, similar to Object.observe()
for objects. It provided a stream of changes in order of occurrence. It's equivalent to Object.observe()
invoked with the accept type list ["add", "update", "delete", "splice"]
. However, this API has been deprecated and removed from Browsers. You can use the more general Proxy
object instead.Array.observe()
, but has been deprecated and removed from Browsers. You can use the more general Proxy
object instead.ArrayBuffer.transfer()
method returns a new ArrayBuffer
whose contents have been taken from the oldBuffer
's data and then is either truncated or zero-extended by newByteLength
. If newByteLength
is undefined
, the byteLength
of the oldBuffer
is used. This operation leaves oldBuffer
in a detached state.toLocaleFormat()
method converts a date to a string using the specified formatting. Intl.DateTimeFormat
is an alternative to format dates in a standards-compliant way. See also the newer version of Date.prototype.toLocaleDateString()
. for each...in
statement iterates a specified variable over all values of object's properties. For each distinct property, a specified statement is executed.isGenerator()
method used to determine whether or not a function is a generator. It has been removed from Firefox starting with version 58.handler.enumerate()
method used to be a trap for for...in
statements, but has been removed from the ECMAScript standard in ES2016 and is deprecated in browsers.function
keyword can be used to define a legacy generator function inside an expression. To make the function a legacy generator, the function body should contain at least one yield
expression.Number.toInteger()
method used to evaluate the passed value and convert it to an integer, but its implementation has been removed.Object.getNotifer()
method was used to create an object that allows to synthetically trigger a change, but has been deprecated and removed in browsers.Object.observe()
method was used for asynchronously observing the changes to an object. It provided a stream of changes in the order in which they occur. However, this API has been deprecated and removed from browsers. You can use the more general Proxy
object instead.__count__
property used to store the count of enumerable properties on the object, but it has been removed.__noSuchMethod__
property used to reference a function to be executed when a non-existent method is called on an object, but this function is no longer available.__parent__
property used to point to an object's context, but it has been removed.Object.eval()
method used to evaluate a string of JavaScript code in the context of an object, however, this method has been removed.unwatch()
method removes a watchpoint set with the watch()
method.watch()
method watches for a property to be assigned a value and runs a function when that occurs.Object.unobserve()
method was used to remove observers set by Object.observe()
, but has been deprecated and removed from Browsers. You can use the more general Proxy
object instead.Reflect
.enumerate()
method used to return an iterator with the enumerable own and inherited properties of the target object, but has been removed in ECMAScript 2016 and is deprecated in browsers.quote()
method returns a copy of the string, replacing various special characters in the string with their escape sequences and wrapping the result in double-quotes ("
).