Diese Übersetzung ist unvollständig. Bitte helfen Sie, diesen Artikel aus dem Englischen zu übersetzen.
||Creates a new object with the specified prototype object and properties. Bug 492840|
||Adds the named property described by a given descriptor to an object.|
||Adds the named properties described by the given descriptors to an object.|
||Returns a property descriptor for a named property on an object. Bug 505587|
||Returns an array of all enumerable properties on an object. Bug 307791|
||Returns an array of all enumerable and non-enumerable properties on an object. Bug 518663|
||Prevents any extensions of an object. Bug 492849|
||Determine if extending of an object is allowed. Bug 492849|
||Prevents other code from deleting properties of an object. Bug 492845|
||Determine if an object is sealed. Bug 492845|
||Freezes an object: other code can't delete or change any properties. Bug 492844|
||Determine if an object was frozen. Bug 492844|
||Checks if a variable is an array. Bug 510537|
||Returns a JSON format string for a
||Creates a new function that, when called, itself calls this function in the context provided (with a given sequence of arguments) Bug 429507|
New ECMAScript5 features
setoperators now allows the identifier to be numeric or a string. Bug 520696
Function.apply()can accept any array-like object as the arguments list, instead of only true arrays.
- strict mode support
Array.toString()now works even on non-arrays by either returning the result of calling its
join()method if one is available or by calling its
Other standardization work
Various non-standard syntaxes for defining getters and setters have been removed; ECMAScript 5 defined syntax has not been changed. These were all pretty esoteric and rarely used; if this affects you, see this blog post for details.
||Offers support for creating
- ISO 8601 support in
Date:The Date object's parse() method now supports simple ISO 8601 format date strings.
- Global objects made read only: The
undefinedglobal objects have been made read only, per the ECMAScript 5 specification.
obj.__count__become obsolete. Some information about why: SpiderMonkey change du jour: the special __parent__ property has been removed Bug 551529 & Bug 552560.
- Trailing commas no longer accepted in