Functions.properties revision 1767:5fb49fa09808
1322249SbaptObject.setIndexedPropertiesToExternalArrayData=sets ByteBuffer to hold indexed data (nashorn extension)
2241675Suqs
3279527SbaptObject.getPrototypeOf=returns the prototype of the specified object
4322249Sbapt
5241675SuqsObject.setPrototypeOf=sets the prototype of the given object (ES6)
6241675Suqs
7241675SuqsObject.getOwnPropertyDescriptor=returns a property descriptor for an own property (not inherited property)
8241675Suqs
9241675SuqsObject.getOwnPropertyNames=returns an array of all properties (enumerable or not) found directly on the given object
10241675Suqs
11241675SuqsObject.getOwnPropertySymbols=returns an array of all symbol properties found directly on the given object (ES6)
12241675Suqs
13241675SuqsObject.create=creates a new object with the specified prototype object and properties
14241675Suqs
15241675SuqsObject.defineProperty=adds an own property and/or update the attributes of an existing own property of an object
16241675Suqs
17241675SuqsObject.defineProperties=defines new or modifies existing properties directly on the given object
18241675Suqs
19241675SuqsObject.seal=prevents new properties from being added to the given object and marks existing properties as non-configurable
20241675Suqs
21241675SuqsObject.freeze=prevents new properties from being added to the given object and prevents existing properties from being removed or re-configured
22241675Suqs
23241675SuqsObject.preventExtensions=prevents new properties from ever being added to the given object
24241675Suqs
25241675SuqsObject.isSealed=tells if an object is sealed or not
26241675Suqs
27241675SuqsObject.isFrozen=tells if an object is frozen or not
28241675Suqs
29241675SuqsObject.isExtensible=tells if an object is extensible or not
30241675Suqs
31322249SbaptObject.keys=returns an array of the given object's own enumerable properties
32241675Suqs
33322249SbaptObject=creates a new script object or converts given value as a script object
34241675Suqs
35241675SuqsObject.prototype.toString=returns a string representation of this object
36241675Suqs
37241675SuqsObject.prototype.hasOwnProperty=tells whether this object has the specified property or not
38241675Suqs
39261344SuqsObject.prototype.isPrototypeOf=tests for this object in another object's prototype chain
40261344Suqs
41261344SuqsObject.prototype.propertyIsEnumerable=tells whether the given property is enumerable or not
42241675Suqs
43261344SuqsObject.bindProperties=binds the source object's properties to the target object (nashorn extension)
44261344Suqs
45261344SuqsArray.isArray=tells whether the argument is an array
46274880Sbapt
47241675SuqsArray.prototype.toString=returns a string representation of this array
48261344Suqs
49261344SuqsArray.prototype.assertNumeric=asserts that the array is numeric, throws a type error if this is not the case
50261344Suqs
51261344SuqsArray.prototype.toLocaleString=returns a locale-specific string representation of this array
52241675Suqs
53261344SuqsArray=creates a new array
54261344Suqs
55261344SuqsArray.prototype.concat=concatenates arrays
56261344Suqs
57241675SuqsArray.prototype.join=returns a string representation of the array, with a separator placed between elements
58241675Suqs
59261344SuqsArray.prototype.pop=returns the element from the end of the array, or undefined
60261344Suqs
61261344SuqsArray.prototype.push=appends an element to the end of the array
62241675Suqs
63241675SuqsArray.prototype.reverse=reverses the array
64241675Suqs
65261344SuqsArray.prototype.shift=removes the first element from the array and returns that element
66261344Suqs
67261344SuqsArray.prototype.slice=returns a shallow copy of a slice of the array
68241675Suqs
69261344SuqsArray.prototype.sort=sorts the array
70241675Suqs
71241675SuqsArray.prototype.splice=changes the content of the array by removing and/or adding elements
72241675Suqs
73241675SuqsArray.prototype.unshift=adds one or more elements to the beginning of the array
74241675Suqs
75274880SbaptArray.prototype.indexOf=retrieves the first index of an element in the array, or -1 if the element is not found
76241675Suqs
77261344SuqsArray.prototype.lastIndexOf=retrieves the last index of an element in the array, or -1 if the element is not found
78241675Suqs
79274880SbaptArray.prototype.every=applies a predicate to all elements of the array, returns true if the predicate evaluates to true for all
80241675Suqs
81241675SuqsArray.prototype.some=tests whether a predicate evaluates to true for some element in the array
82241675Suqs
83274880SbaptArray.prototype.forEach=applies a function to all elements in the array
84261344Suqs
85294113SbaptArray.prototype.map=applies a function to all elements in the array, returns the array of results
86261344Suqs
87275432SbaptArray.prototype.filter=returns an array with those elements from this array that match a filter function
88241675Suqs
89241675SuqsArray.prototype.reduce=applies a left-fold to the array and returns the result
90241675Suqs
91241675SuqsArray.prototype.reduceRight=applies a right-fold to the array and returns the result
92261344Suqs
93261344SuqsFunction=creates a new function with the given parameters and function body
94274880Sbapt
95274880SbaptFunction.prototype.toString=returns a string representation of this function
96294113Sbapt
97294113SbaptFunction.prototype.apply=invokes the function with the given this-reference and arguments array
98294113Sbapt
99322249SbaptFunction.prototype.call=invokes the function with the given this-reference and arguments
100322249Sbapt
101261344SuqsFunction.prototype.bind=returns a new function with bound this-reference and arguments
102261344Suqs
103261344SuqsMath.abs=returns absolute value of the argument
104274880Sbapt
105261344SuqsMath.acos=returns an approximation to the arc cosine of argument, return value is expressed in radians
106261344Suqs
107261344SuqsMath.asin=returns an approximation to the arc sine of argument, return value is expressed in radians
108274880Sbapt
109294113SbaptMath.atan=returns an approximation to the arc tangent of argument, return value expressed in radians
110261344Suqs
111261344SuqsMath.atan2=returns an approximation to the arc tangent of the quotient argument1/argument2, signs of argument1 and argument2 are used to determine quadrant of the result
112241675Suqs
113241675SuqsMath.ceil=returns smallest value that is not less than argument and is equal to a mathematical integer, returns argument itself if it is an integer
114241675Suqs
115274880SbaptMath.cos=returns an approximation to the cosine of argument, argument is expressed in radians
116274880Sbapt
117274880SbaptMath.exp=returns an approximation to the value of exponential function of argument, e raised to the power of argument where e is the base of natural logarithms
118274880Sbapt
119274880SbaptMath.floor=returns the greatest value that is not greater than argument and is equal to mathematical integer, returns argument itself if it is an integer
120274880Sbapt
121274880SbaptMath.log=returns an approximation to the natural logarithm of argument
122274880Sbapt
123241675SuqsMath.max=returns the largest of the given arguments
124241675Suqs
125274880SbaptMath.min=returns the smallest of the given arguments
126241675Suqs
127241675SuqsMath.pow=returns an approximation to the result of raising argument1 to the power of argument2
128261344Suqs
129274880SbaptMath.random=returns random value between 0 to 1, inclusive 0 and exclusive 1
130261344Suqs
131261344SuqsMath.round=returns mathematical integer value that is closest to the given argument
132241675Suqs
133274880SbaptMath.sin=returns an approximation to the sine of given argument, argument is expressed in radians
134261344Suqs
135241675SuqsMath.sqrt=returns an approximation to the square root of given argument
136241675Suqs
137241675SuqsMath.tan=returns an approximation to the tangent of given argument
138261344Suqs
139241675SuqsString.fromCharCode=returns a string value containing the characters corresponding to the sequence of unicode values given as arguments
140241675Suqs
141241675SuqsString.prototype.toString=returns string value of calling object, returns TypeError if calling object is not a string object
142241675Suqs
143241675SuqsString.prototype.valueOf=returns string value of calling object, returns TypeError if calling object is not a string object
144241675Suqs
145241675SuqsString.prototype.charAt=returns string value representing the character at the index given as argument, empty string if the index is out of range
146274880Sbapt
147241675SuqsString.prototype.concat=returns the string resulting from appending the argument string value to the calling object
148274880Sbapt
149274880SbaptString.prototype.indexOf=returns the index of first occurrence of specified string, starting the search from position given as argument, returns -1 if the string is not found
150274880Sbapt
151274880SbaptString.prototype.lastIndexOf=returns the index of last occurrence of specified string, searching backwards from position given as argument, returns -1 if the string is not found
152274880Sbapt
153274880SbaptString.prototype.localeCompare=returns negative, zero, or positive value if calling string value comes before, equal, or after argument string value in the locale-sensitive sort order
154279527Sbapt
155279527SbaptString.prototype.match=returns an array containing entire match result when matching calling string value against regular expression given as argument
156279527Sbapt
157279527SbaptString.prototype.replace=returns a new string with some or all matches of pattern argument replaced by the given replacement argument
158294113Sbapt
159279527SbaptString.prototype.search=returns index of the first occurrence of the match between regular expression given as argument and the calling string, returns -1 if not found
160279527Sbapt
161274880SbaptString.prototype.slice=returns a new string by extracting a section of the string according to given arguments
162261344Suqs
163241675SuqsString.prototype.split=returns an array of strings split at each point where the separator given as argument occurs in the calling string, number of array elements is limited by second argument
164241675Suqs
165241675SuqsString.prototype.substring=returns a new string value extracted from the calling string starting from first argument position to position before the second argument position
166241675Suqs
167241675SuqsString.prototype.toLowerCase=returns a new string representing the calling string value converted to lower case
168241675Suqs
169274880SbaptString.prototype.toLocaleLowerCase=returns a new string representing the calling string value converted to lower case according to any locale specific case mappings
170274880Sbapt
171274880SbaptString.prototype.toUpperCase=returns a new string representing the calling string value converted to upper case
172274880Sbapt
173274880SbaptString.prototype.toLocaleUpperCase=returns a new string representing the calling string value converted to upper case according to any locale specific case mappings
174274880Sbapt
175274880SbaptString.prototype.trim=returns a new string representing the calling string with white space removed from both ends
176274880Sbapt
177275432SbaptBoolean.prototype.toString=returns string representation of specified Boolean object
178275432Sbapt
179294113SbaptBoolean.prototype.valueOf=returns the primitive value of the specified Boolean object
180274880Sbapt
181322249SbaptNumber.prototype.toString=returns string representation of specified object in the specified radix
182322249Sbapt
183322249SbaptNumber.prototype.toLocaleString=returns a string with a language sensitive representation of this number
184322249Sbapt
185322249SbaptNumber.prototype.valueOf=returns the primitive value of the specified object
186322249Sbapt
187322249SbaptNumber.prototype.toFixed=returns a string representing the number in decimal fixed-point notation
188322249Sbapt
189322249SbaptNumber.prototype.toExponential=returns a string representing the number in decimal exponential notation
190322249Sbapt
191322249SbaptNumber.prototype.toPrecision=returns a string representing the number to a specified precision in fixed-point or exponential notation
192274880Sbapt
193261344Suqs