Functions.properties revision 1602:981b353f2f75
1157016SdesObject.setIndexedPropertiesToExternalArrayData=sets ByteBuffer to hold indexed data (nashorn extension) 2137015Sdes 3137015SdesObject.getPrototypeOf=returns the prototype of the specified object 4137015Sdes 5137015SdesObject.setPrototypeOf=sets the prototype of the given object (ES6) 6137015Sdes 7137015SdesObject.getOwnPropertyDescriptor=returns a property descriptor for an own property (not inherited property) 8137015Sdes 9137015SdesObject.getOwnPropertyNames=returns an array of all properties (enumerable or not) found directly on the given object 10137015Sdes 11137015SdesObject.getOwnPropertySymbols=returns an array of all symbol properties found directly on the given object (ES6) 12137015Sdes 13137015SdesObject.create=creates a new object with the specified prototype object and properties 14137015Sdes 15137015SdesObject.defineProperty=adds an own property and/or update the attributes of an existing own property of an object 16137015Sdes 17137015SdesObject.defineProperties=defines new or modifies existing properties directly on the given object 18137015Sdes 19137015SdesObject.seal=prevents new properties from being added to the given object and marks existing properties as non-configurable 20137015Sdes 21137015SdesObject.freeze=prevents new properties from being added to the given object and prevents existing properties from being removed or re-configured 22137015Sdes 23137015SdesObject.preventExtensions=prevents new properties from ever being added to the given object 24137015Sdes 25137015SdesObject.isSealed=tells if an object is sealed or not 26137015Sdes 27137015SdesObject.isFrozen=tells if an object is frozen or not 28137015Sdes 29137015SdesObject.isExtensible=tells if an object is extensible or not 30137015Sdes 31137015SdesObject.keys=returns an array of the given object's own enumerable properties 32137015Sdes 33137015SdesObject=creates a new script object or converts given value as a script object 34137015Sdes 35137015SdesObject.prototype.toString=returns a string representation of this object 36137015Sdes 37137015SdesObject.prototype.hasOwnProperty=tells whether this object has the specified property or not 38137015Sdes 39137015SdesObject.prototype.isPrototypeOf=tests for this object in another object's prototype chain 40137015Sdes 41137015SdesObject.prototype.propertyIsEnumerable=tells whether the given property is enumerable or not 42137015Sdes 43137015SdesObject.bindProperties=binds the source object's properties to the target object (nashorn extension) 44137015Sdes 45137015SdesArray.isArray=tells whether the argument is an array 46137015Sdes 47137015SdesArray.prototype.toString=returns a string representation of this array 48137015Sdes 49137015SdesArray.prototype.assertNumeric=asserts that the array is numeric, throws a type error if this is not the case 50137015Sdes 51137015SdesArray.prototype.toLocaleString=returns a locale-specific string representation of this array 52137015Sdes 53137015SdesArray=creates a new array 54137015Sdes 55137015SdesArray.prototype.concat=concatenates arrays 56137015Sdes 57137015SdesArray.prototype.join=returns a string representation of the array, with a separator placed between elements 58137015Sdes 59137015SdesArray.prototype.pop=returns the element from the end of the array, or undefined 60137015Sdes 61137015SdesArray.prototype.push=appends an element to the end of the array 62137015Sdes 63137015SdesArray.prototype.reverse=reverses the array 64137015Sdes 65137015SdesArray.prototype.shift=removes the first element from the array and returns that element 66137015Sdes 67137015SdesArray.prototype.slice=returns a shallow copy of a slice of the array 68137015Sdes 69137015SdesArray.prototype.sort=sorts the array 70137015Sdes 71137015SdesArray.prototype.splice=changes the content of the array by removing and/or adding elements 72137015Sdes 73137015SdesArray.prototype.unshift=adds one or more elements to the beginning of the array 74137015Sdes 75137015SdesArray.prototype.indexOf=retrieves the first index of an element in the array, or -1 if the element is not found 76137015Sdes 77137015SdesArray.prototype.lastIndexOf=retrieves the last index of an element in the array, or -1 if the element is not found 78137015Sdes 79137015SdesArray.prototype.every=applies a predicate to all elements of the array, returns true if the predicate evaluates to true for all 80137015Sdes 81137015SdesArray.prototype.some=tests whether a predicate evaluates to true for some element in the array 82137015Sdes 83Array.prototype.forEach=applies a function to all elements in the array 84 85Array.prototype.map=applies a function to all elements in the array, returns the array of results 86 87Array.prototype.filter=returns an array with those elements from this array that match a filter function 88 89Array.prototype.reduce=applies a left-fold to the array and returns the result 90 91Array.prototype.reduceRight=applies a right-fold to the array and returns the result 92 93Function=creates a new function with the given parameters and function body 94 95Function.prototype.toString=returns a string representation of this function 96 97Function.prototype.apply=invokes the function with the given this-reference and arguments array 98 99Function.prototype.call=invokes the function with the given this-reference and arguments 100 101Function.prototype.bind=returns a new function with bound this-reference and arguments 102