Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Category: JavaScript Reference

  • October 9, 2026
    The Error.isError() static method determines whether the passed value is an Error.
  • October 9, 2026
    The name data property of Error.prototype is shared by all Error instances.
  • October 9, 2026
    When Error is used like a function, that is without new, it will return an Error object.
  • October 9, 2026
    The Error.captureStackTrace() static method installs stack trace information on a provided object as the stack property.
  • October 9, 2026
    Error objects are thrown when runtime errors occur.
  • October 9, 2026
    The encodeURI() function encodes a URI by replacing each instance of certain characters by one, two, three, or four escape…
  • October 9, 2026
    The encodeURIComponent() function encodes a URI by replacing each instance of certain characters by one, two, three, or four escape…
  • October 9, 2026
    The decodeURIComponent() function decodes a Uniform Resource Identifier (URI) component previously created by encodeURIComponent() or by a similar routine.
  • October 9, 2026
    The decodeURI() function decodes a Uniform Resource Identifier (URI) previously created by encodeURI() or a similar routine.
  • October 9, 2026
    The setHours() method of Date instances changes the hours, minutes, seconds, and/or milliseconds for this date according to local time.
  • October 9, 2026
    The setMilliseconds() method of Date instances changes the milliseconds for this date according to local time.
  • October 9, 2026
    The setMinutes() method of Date instances changes the minutes for this date according to local time.
  • October 9, 2026
    The setFullYear() method of Date instances changes the year, month, and/or day of month for this date according to local…
  • October 9, 2026
    The getUTCSeconds() method of Date instances returns the seconds in the specified date according to universal time.
  • October 9, 2026
    The setDate() method of Date instances changes the day of the month for this date according to local time.
  • October 9, 2026
    The getUTCMonth() method of Date instances returns the month for this date according to universal time, as a zero-based value…
  • October 9, 2026
    The getUTCMilliseconds() method of Date instances returns the milliseconds for this date according to universal time.
  • October 9, 2026
    The getUTCMinutes() method of Date instances returns the minutes for this date according to universal time.
  • October 9, 2026
    The getUTCFullYear() method of Date instances returns the year for this date according to universal time.
  • October 9, 2026
    The getUTCHours() method of Date instances returns the hours for this date according to universal time.
  • October 9, 2026
    The getUTCDay() method of Date instances returns the day of the week for this date according to universal time, where…
  • October 9, 2026
    The getTime() method of Date instances returns the number of milliseconds for this date since the epoch, which is defined…
  • October 9, 2026
    The getTimezoneOffset() method of Date instances returns the difference, in minutes, between this date as evaluated in the UTC time…
  • October 9, 2026
    The getUTCDate() method of Date instances returns the day of the month for this date according to universal time.
  • October 9, 2026
    The getSeconds() method of Date instances returns the seconds for this date according to local time.
  • October 9, 2026
    The getMinutes() method of Date instances returns the minutes for this date according to local time.
  • October 9, 2026
    The getMonth() method of Date instances returns the month for this date according to local time, as a zero-based value…
  • October 9, 2026
    The getMilliseconds() method of Date instances returns the milliseconds for this date according to local time.
  • October 9, 2026
    The getDay() method of Date instances returns the day of the week for this date according to local time, where…
  • October 9, 2026
    The getFullYear() method of Date instances returns the year for this date according to local time.
  • October 9, 2026
    The getHours() method of Date instances returns the hours for this date according to local time.
  • October 9, 2026
    The Date.parse() static method parses a string representation of a date, and returns the date's timestamp.
  • October 9, 2026
    The getDate() method of Date instances returns the day of the month for this date according to local time.
  • October 9, 2026
    The Date.now() static method returns the number of milliseconds elapsed since the epoch, which is defined as the midnight at…
  • October 9, 2026
    The setUint8() method of DataView instances takes a number and stores it as an 8-bit unsigned integer in the byte…
  • October 9, 2026
    JavaScript Date objects represent a single moment in time in a platform-independent format.
  • October 9, 2026
    The Date() constructor creates Date objects.
  • October 9, 2026
    The setUint16() method of DataView instances takes a number and stores it as a 16-bit unsigned integer in the 2…
  • October 9, 2026
    The setUint32() method of DataView instances takes a number and stores it as a 32-bit unsigned integer in the 4…
  • October 9, 2026
    The setInt8() method of DataView instances takes a number and stores it as an 8-bit signed integer in the byte…
  • October 9, 2026
    The setFloat64() method of DataView instances takes a number and stores it as a 64-bit floating point number in the…
  • October 9, 2026
    The setInt16() method of DataView instances takes a number and stores it as a 16-bit signed integer in the 2…
  • October 9, 2026
    The setInt32() method of DataView instances takes a number and stores it as a 32-bit signed integer in the 4…
  • October 9, 2026
    The setFloat32() method of DataView instances takes a number and stores it as a 32-bit floating point number in the…
  • October 9, 2026
    The setBigUint64() method of DataView instances takes a BigInt and stores it as a 64-bit unsigned integer in the 8…
  • October 9, 2026
    The setFloat16() method of DataView instances takes a number and stores it as a 16-bit floating point number in the…
  • October 9, 2026
    The getInt8() method of DataView instances reads 1 byte at the specified byte offset of this DataView and interprets it…
  • October 9, 2026
    The getUint16() method of DataView instances reads 2 bytes starting at the specified byte offset of this DataView and interprets…
  • October 9, 2026
    The getUint32() method of DataView instances reads 4 bytes starting at the specified byte offset of this DataView and interprets…
  • October 9, 2026
    The getUint8() method of DataView instances reads 1 byte at the specified byte offset of this DataView and interprets it…
  • October 9, 2026
    The setBigInt64() method of DataView instances takes a BigInt and stores it as a 64-bit signed integer in the 8…
  • October 9, 2026
    The getFloat64() method of DataView instances reads 8 bytes starting at the specified byte offset of this DataView and interprets…
  • October 9, 2026
    The getInt16() method of DataView instances reads 2 bytes starting at the specified byte offset of this DataView and interprets…
  • October 9, 2026
    The getInt32() method of DataView instances reads 4 bytes starting at the specified byte offset of this DataView and interprets…
  • October 9, 2026
    The getFloat16() method of DataView instances reads 2 bytes starting at the specified byte offset of this DataView and interprets…
  • October 9, 2026
    The getFloat32() method of DataView instances reads 4 bytes starting at the specified byte offset of this DataView and interprets…
  • October 9, 2026
    The getBigInt64() method of DataView instances reads 8 bytes starting at the specified byte offset of this DataView and interprets…
  • October 9, 2026
    The getBigUint64() method of DataView instances reads 8 bytes starting at the specified byte offset of this DataView and interprets…
  • October 9, 2026
    The byteLength accessor property of DataView instances returns the length (in bytes) of this view.
  • October 9, 2026
    The byteOffset accessor property of DataView instances returns the offset (in bytes) of this view from the start of its…
  • October 9, 2026
    The buffer accessor property of DataView instances returns the ArrayBuffer or SharedArrayBuffer referenced by this view at construction time.
  • October 9, 2026
    The DataView view provides a low-level interface for reading and writing multiple number types in a binary ArrayBuffer, without having…
  • October 9, 2026
    Return value: A new DataView object representing the specified data buffer.
  • October 9, 2026
    The valueOf() method of Boolean values returns the primitive value of a Boolean object.
  • October 9, 2026
    The Boolean() constructor creates Boolean objects.
  • October 9, 2026
    The toString() method of Boolean values returns a string representing the specified boolean value.
  • October 9, 2026
    The toString() method of BigInt values returns a string representing the specified BigInt value.
  • October 9, 2026
    The BigInt.asUintN() static method truncates a BigInt value to the given number of least significant bits and returns that value…
  • October 9, 2026
    The toLocaleString() method of BigInt values returns a string with a language-sensitive representation of this BigInt.
  • October 9, 2026
    The BigInt.asIntN() static method truncates a BigInt value to the given number of least significant bits and returns that value…
  • October 9, 2026
    BigInt values represent integer values which are too high or too low to be represented by the number primitive.
  • October 9, 2026
    The BigInt() function returns primitive values of type BigInt.
  • October 9, 2026
    The next() method of AsyncGenerator instances returns the next value in the sequence.
  • October 9, 2026
    The return() method of AsyncGenerator instances acts as if a return statement is inserted in the generator's body at the…
  • October 9, 2026
    The throw() method of AsyncGenerator instances acts as if a throw statement is inserted in the generator's body at the…
  • October 9, 2026
    Warning: The arguments passed to this constructor are dynamically parsed and executed as JavaScript.
  • October 9, 2026
    The AsyncGenerator object is returned by an async generator function and it conforms to both the async iterable protocol and…
  • October 9, 2026
    The AsyncFunction object provides methods for async functions.
  • October 9, 2026
    The ArrayBuffer[Symbol.species] static accessor property returns the constructor used to construct return values from array buffer methods.
  • October 9, 2026
    The transfer() method of ArrayBuffer instances creates a new ArrayBuffer with the same byte content as this buffer, then detaches…
  • October 9, 2026
    The transferToFixedLength() method of ArrayBuffer instances creates a new non-resizable ArrayBuffer with the same byte content as this buffer, then…
  • October 9, 2026
    The resize() method of ArrayBuffer instances resizes the ArrayBuffer to the specified size, in bytes.
  • October 9, 2026
    The slice() method of ArrayBuffer instances returns a new ArrayBuffer whose contents are a copy of this ArrayBuffer's bytes from…
  • October 9, 2026
    The resizable accessor property of ArrayBuffer instances returns whether this array buffer can be resized or not.
  • October 9, 2026
    The detached accessor property of ArrayBuffer instances returns a boolean indicating whether or not this buffer has been detached (transferred).
  • October 9, 2026
    The maxByteLength accessor property of ArrayBuffer instances returns the maximum length (in bytes) that this array buffer can be resized…
  • October 9, 2026
    The byteLength accessor property of ArrayBuffer instances returns the length (in bytes) of this array buffer.
  • October 9, 2026
    The ArrayBuffer.isView() static method determines whether the passed value is one of the ArrayBuffer views, such as typed array objects…
  • October 9, 2026
    The ArrayBuffer object is used to represent a generic raw binary data buffer.
  • October 9, 2026
    Return value: A new ArrayBuffer object of the specified size, with its maxByteLength property set to the specified maxByteLength if…
  • October 9, 2026
    The length data property of an Array instance represents the number of slots in that array.
  • October 9, 2026
    The Array[Symbol.species] static accessor property returns the constructor used to construct return values from array methods.
  • October 9, 2026
    The map() method of Array instances creates a new array populated with the results of calling a provided function on…
  • October 9, 2026
    The pop() method of Array instances removes the last element from an array and returns that element.
  • October 9, 2026
    The lastIndexOf() method of Array instances returns the last index at which a given element can be found in the…
  • October 9, 2026
    The join() method of Array instances returns a new string that is the concatenation of all elements in this array,…
  • October 9, 2026
    The keys() method of Array instances returns a new array iterator object that contains the keys for each index in…
  • October 9, 2026
    The indexOf() method of Array instances returns the first index at which a given element can be found in the…
  • October 9, 2026
    The forEach() method of Array instances executes a provided function once for each array element.
  • October 9, 2026
    The includes() method of Array instances determines whether an array includes a certain value among its entries, returning true or…