Articles tagged: Prototype
Found 300 documents
- Learn/JavaScript/Objects/Inheritance This article has covered the remainder of the core OOJS theory and syntax that we think you ...
- Learn/JavaScript/Objects/Object_prototypes This article has covered JavaScript object prototypes, including how prototype object chains ...
- Web/JavaScript/Reference/Global_Objects/Array/@@iterator The initial value of the @@iterator property is the same function object as the initial value of ...
- Web/JavaScript/Reference/Global_Objects/Array/@@species The Array[@@species] accessor property returns the Array constructor.
- Web/JavaScript/Reference/Global_Objects/Array/@@unscopables The @@unscopable symbol property contains property names that were not included in the ...
- Web/JavaScript/Reference/Global_Objects/Array/concat The concat() method is used to merge two or more arrays. This method does not change the ...
- Web/JavaScript/Reference/Global_Objects/Array/copyWithin The copyWithin() method shallow copies part of an array to another location in the same array ...
- Web/JavaScript/Reference/Global_Objects/Array/entries The entries() method returns a new Array Iterator object that contains the key/value pairs for ...
- Web/JavaScript/Reference/Global_Objects/Array/every The every() method tests whether all elements in the array pass the test implemented by the ...
- Web/JavaScript/Reference/Global_Objects/Array/fill The fill() method fills all the elements of an array from a start index to an end index with a ...
- Web/JavaScript/Reference/Global_Objects/Array/filter The filter() method creates a new array with all elements that pass the test implemented by the ...
- Web/JavaScript/Reference/Global_Objects/Array/find The find() method returns a value in the array, if an element in the array satisfies the ...
- Web/JavaScript/Reference/Global_Objects/Array/findIndex The findIndex() method returns an index in the array, if an element in the array satisfies the ...
- Web/JavaScript/Reference/Global_Objects/Array/forEach The forEach() method executes a provided function once per array element.
- Web/JavaScript/Reference/Global_Objects/Array/includes The includes() method determines whether an array includes a certain element, returning true or ...
- Web/JavaScript/Reference/Global_Objects/Array/indexOf The indexOf() method returns the first index at which a given element can be found in the array, ...
- Web/JavaScript/Reference/Global_Objects/Array/join The join() method joins all elements of an array into a string.
- Web/JavaScript/Reference/Global_Objects/Array/keys The keys() method returns a new Array Iterator that contains the keys for each index in the array.
- Web/JavaScript/Reference/Global_Objects/Array/lastIndexOf The lastIndexOf() method returns the last index at which a given element can be found in the ...
- Web/JavaScript/Reference/Global_Objects/Array/map The map() method creates a new array with the results of calling a provided function on every ...
- Web/JavaScript/Reference/Global_Objects/Array/pop The pop() method removes the last element from an array and returns that element.
- Web/JavaScript/Reference/Global_Objects/Array/push The push() method adds one or more elements to the end of an array and returns the new length of ...
- Web/JavaScript/Reference/Global_Objects/Array/Reduce The reduce() method applies a function against an accumulator and each value of the array (from ...
- Web/JavaScript/Reference/Global_Objects/Array/ReduceRight The reduceRight() method applies a function against an accumulator and each value of the array ...
- Web/JavaScript/Reference/Global_Objects/Array/reverse The reverse() method reverses an array in place. The first array element becomes the last and ...
- Web/JavaScript/Reference/Global_Objects/Array/shift The shift() method removes the first element from an array and returns that element. This method ...
- Web/JavaScript/Reference/Global_Objects/Array/slice The slice() method returns a shallow copy of a portion of an array into a new array object.
- Web/JavaScript/Reference/Global_Objects/Array/some The some() method tests whether some element in the array passes the test implemented by the ...
- Web/JavaScript/Reference/Global_Objects/Array/sort The sort() method sorts the elements of an array in place and returns the array. The sort is not ...
- Web/JavaScript/Reference/Global_Objects/Array/splice The splice() method changes the content of an array by removing existing elements and/or adding ...
- Web/JavaScript/Reference/Global_Objects/Array/toLocaleString The toLocaleString() method returns a string representing the elements of the array. The ...
- Web/JavaScript/Reference/Global_Objects/Array/toSource The toSource() method returns a string representing the source code of the array.
- Web/JavaScript/Reference/Global_Objects/Array/toString The toString() method returns a string representing the specified array and its elements.
- Web/JavaScript/Reference/Global_Objects/Array/unshift The unshift() method adds one or more elements to the beginning of an array and returns the new ...
- Web/JavaScript/Reference/Global_Objects/Array/values The values() method returns a new Array Iterator object that contains the values for each index ...
- Web/JavaScript/Reference/Global_Objects/ArrayBuffer/byteLength The byteLength accessor property represents the length of an ArrayBuffer in bytes.
- Web/JavaScript/Reference/Global_Objects/ArrayBuffer/slice The slice() method returns a new ArrayBuffer whose contents are a copy of this ArrayBuffer 's ...
- Web/JavaScript/Reference/Global_Objects/Boolean/prototype The Boolean.prototype property represents the prototype for the Boolean constructor.
- Web/JavaScript/Reference/Global_Objects/Boolean/toSource The toSource() method returns a string representing the source code of the object.
- Web/JavaScript/Reference/Global_Objects/Boolean/toString The toString() method returns a string representing the specified Boolean object.
- Web/JavaScript/Reference/Global_Objects/Boolean/valueOf The valueOf() method returns the primitive value of a Boolean object.
- Web/JavaScript/Reference/Global_Objects/Collator/compare The Intl.Collator.prototype.compare property returns a getter function that compares two strings ...
- Web/JavaScript/Reference/Global_Objects/Collator/prototype The Intl.Collator.prototype property represents the prototype object for the Intl.Collator ...
- Web/JavaScript/Reference/Global_Objects/Collator/resolvedOptions The Intl.Collator.prototype.resolvedOptions() method returns a new object with properties ...
- Web/JavaScript/Reference/Global_Objects/DataView/buffer The buffer accessor property represents the ArrayBuffer referenced by the DataView at ...
- Web/JavaScript/Reference/Global_Objects/DataView/byteLength The byteLength accessor property represents the length (in bytes) of this view from the start of ...
- Web/JavaScript/Reference/Global_Objects/DataView/byteOffset The byteOffset accessor property represents the offset (in bytes) of this view from the start of ...
- Web/JavaScript/Reference/Global_Objects/DataView/getFloat32 The getFloat32() method gets a signed 32-bit float (float) at the specified byte offset from the ...
- Web/JavaScript/Reference/Global_Objects/DataView/getFloat64 The getFloat64() method gets a signed 64-bit float (double) at the specified byte offset from ...
- Web/JavaScript/Reference/Global_Objects/DataView/getInt16 The getInt16() method gets a signed 16-bit integer (short) at the specified byte offset from the ...
- Web/JavaScript/Reference/Global_Objects/DataView/getInt32 The getInt32() method gets a signed 32-bit integer (long) at the specified byte offset from the ...
- Web/JavaScript/Reference/Global_Objects/DataView/getInt8 The getInt8() method gets a signed 8-bit integer (byte) at the specified byte offset from the ...
- Web/JavaScript/Reference/Global_Objects/DataView/getUint16 The getUint16() method gets an unsigned 16-bit integer (unsigned short) at the specified byte ...
- Web/JavaScript/Reference/Global_Objects/DataView/getUint32 The getUint32() method gets an unsigned 32-bit integer (unsigned long) at the specified byte ...
- Web/JavaScript/Reference/Global_Objects/DataView/getUint8 The getUint8() method gets an unsigned 8-bit integer (unsigned byte) at the specified byte ...
- Web/JavaScript/Reference/Global_Objects/DataView/setFloat32 The setFloat32() method stores a signed 32-bit float (float) value at the specified byte offset ...
- Web/JavaScript/Reference/Global_Objects/DataView/setFloat64 The setFloat64() method stores a signed 64-bit float (double) value at the specified byte offset ...
- Web/JavaScript/Reference/Global_Objects/DataView/setInt16 The setInt16() method stores a signed 16-bit integer (short) value at the specified byte offset ...
- Web/JavaScript/Reference/Global_Objects/DataView/setInt32 The setInt32() method stores a signed 32-bit integer (long) value at the specified byte offset ...
- Web/JavaScript/Reference/Global_Objects/DataView/setInt8 The setInt8() method stores a signed 8-bit integer (byte) value at the specified byte offset ...
- Web/JavaScript/Reference/Global_Objects/DataView/setUint16 The setUint16() method stores an unsigned 16-bit integer (unsigned short) value at the specified ...
- Web/JavaScript/Reference/Global_Objects/DataView/setUint32 The setUint32() method stores an unsigned 32-bit integer (unsigned long) value at the specified ...
- Web/JavaScript/Reference/Global_Objects/DataView/setUint8 The setUint8() method stores an unsigned 8-bit integer (byte) value at the specified byte offset ...
- Web/JavaScript/Reference/Global_Objects/Date/@@toPrimitive The [@@toPrimitive]() method converts a Date object to a primitive value.
- Web/JavaScript/Reference/Global_Objects/Date/getDate The getDate() method returns the day of the month for the specified date according to local time.
- Web/JavaScript/Reference/Global_Objects/Date/getDay The getDay() method returns the day of the week for the specified date according to local time, ...
- Web/JavaScript/Reference/Global_Objects/Date/getFullYear The getFullYear() method returns the year of the specified date according to local time.
- Web/JavaScript/Reference/Global_Objects/Date/getHours The getHours() method returns the hour for the specified date, according to local time.
- Web/JavaScript/Reference/Global_Objects/Date/getMilliseconds The getMilliseconds() method returns the milliseconds in the specified date according to local time.
- Web/JavaScript/Reference/Global_Objects/Date/getMinutes The getMinutes() method returns the minutes in the specified date according to local time.
- Web/JavaScript/Reference/Global_Objects/Date/getMonth The getMonth() method returns the month in the specified date according to local time, as a ...
- Web/JavaScript/Reference/Global_Objects/Date/getSeconds The getSeconds() method returns the seconds in the specified date according to local time.
- Web/JavaScript/Reference/Global_Objects/Date/getTime The getTime() method returns the numeric value corresponding to the time for the specified date ...
- Web/JavaScript/Reference/Global_Objects/Date/getTimezoneOffset The getTimezoneOffset() method returns the time-zone offset from UTC, in minutes, for the ...
- Web/JavaScript/Reference/Global_Objects/Date/getUTCDate The getUTCDate() method returns the day (date) of the month in the specified date according to ...
- Web/JavaScript/Reference/Global_Objects/Date/getUTCDay The getUTCDay() method returns the day of the week in the specified date according to universal ...
- Web/JavaScript/Reference/Global_Objects/Date/getUTCFullYear The getUTCFullYear() method returns the year in the specified date according to universal time.
- Web/JavaScript/Reference/Global_Objects/Date/getUTCHours The getUTCHours() method returns the hours in the specified date according to universal time.
- Web/JavaScript/Reference/Global_Objects/Date/getUTCMilliseconds The getUTCMilliseconds() method returns the milliseconds in the specified date according to ...
- Web/JavaScript/Reference/Global_Objects/Date/getUTCMinutes The getUTCMinutes() method returns the minutes in the specified date according to universal time.
- Web/JavaScript/Reference/Global_Objects/Date/getUTCMonth The getUTCMonth() returns the month of the specified date according to universal time, as a ...
- Web/JavaScript/Reference/Global_Objects/Date/getUTCSeconds The getUTCSeconds() method returns the seconds in the specified date according to universal time.
- Web/JavaScript/Reference/Global_Objects/Date/getYear The getYear() method returns the year in the specified date according to local time. Because ...
- Web/JavaScript/Reference/Global_Objects/Date/prototype The Date.prototype property represents the prototype for the Date constructor.
- Web/JavaScript/Reference/Global_Objects/Date/setDate The setDate() method sets the day of the Date object relative to the beginning of the currently ...
- Web/JavaScript/Reference/Global_Objects/Date/setFullYear The setFullYear() method sets the full year for a specified date according to local time. ...
- Web/JavaScript/Reference/Global_Objects/Date/setHours The setHours() method sets the hours for a specified date according to local time, and returns ...
- Web/JavaScript/Reference/Global_Objects/Date/setMilliseconds The setMilliseconds() method sets the milliseconds for a specified date according to local time.
- Web/JavaScript/Reference/Global_Objects/Date/setMinutes The setMinutes() method sets the minutes for a specified date according to local time.
- Web/JavaScript/Reference/Global_Objects/Date/setMonth The setMonth() method sets the month for a specified date according to the currently set year.
- Web/JavaScript/Reference/Global_Objects/Date/setSeconds The setSeconds() method sets the seconds for a specified date according to local time.
- Web/JavaScript/Reference/Global_Objects/Date/setTime The setTime() method sets the Date object to the time represented by a number of milliseconds ...
- Web/JavaScript/Reference/Global_Objects/Date/setUTCDate The setUTCDate() method sets the day of the month for a specified date according to universal time.
- Web/JavaScript/Reference/Global_Objects/Date/setUTCFullYear The setUTCFullYear() method sets the full year for a specified date according to universal time.
- Web/JavaScript/Reference/Global_Objects/Date/setUTCHours The setUTCHours() method sets the hour for a specified date according to universal time, and ...
- Web/JavaScript/Reference/Global_Objects/Date/setUTCMilliseconds The setUTCMilliseconds() method sets the milliseconds for a specified date according to ...
- Web/JavaScript/Reference/Global_Objects/Date/setUTCMinutes The setUTCMinutes() method sets the minutes for a specified date according to universal time.
- Web/JavaScript/Reference/Global_Objects/Date/setUTCMonth The setUTCMonth() method sets the month for a specified date according to universal time.
- Web/JavaScript/Reference/Global_Objects/Date/setUTCSeconds The setUTCSeconds() method sets the seconds for a specified date according to universal time.
- Web/JavaScript/Reference/Global_Objects/Date/setYear The setYear() method sets the year for a specified date according to local time. Because ...