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

Category: JavaScript Reference

  • October 9, 2026
    The delete() method of WeakSet instances removes the specified value from this set, if it is in the set.
  • October 9, 2026
    The has() method of WeakSet instances returns a boolean indicating whether the specified value exists in this WeakSet or not.
  • October 9, 2026
    Parameters: iterable If an iterable object is passed, all of its elements will be added to the new WeakSet. null…
  • October 9, 2026
    The add() method of WeakSet instances inserts the specified value into this set, if it is not already present.
  • October 9, 2026
    A WeakSet is a collection of garbage-collectable values, including objects and non-registered symbols.
  • October 9, 2026
    The set() method of WeakMap instances adds a new entry with a specified key and value to this WeakMap, or…
  • October 9, 2026
    The has() method of WeakMap instances returns a boolean indicating whether an entry with the specified key exists in this…
  • October 9, 2026
    The getOrInsertComputed() method of WeakMap instances returns the value corresponding to the specified key in this WeakMap.
  • October 9, 2026
    The delete() method of WeakMap instances removes the entry specified by the key from this WeakMap.
  • October 9, 2026
    The get() method of WeakMap instances returns the value corresponding to the key in this WeakMap, or undefined if there…
  • October 9, 2026
    The getOrInsert() method of WeakMap instances returns the value corresponding to the specified key in this WeakMap.
  • October 9, 2026
    A WeakMap is a collection of key/value pairs whose keys must be objects or non-registered symbols, with values of any…
  • October 9, 2026
    Parameters: iterable An Array or other iterable object that produces a two-element array-like object whose first element is a value…
  • October 9, 2026
    The URIError object represents an error when a global URI handling function was used in a wrong way.
  • October 9, 2026
    The undefined global property represents the primitive value undefined.
  • October 9, 2026
    The toBase64() method of Uint8Array instances returns a base64-encoded string based on the data in this Uint8Array object.
  • October 9, 2026
    The toHex() method of Uint8Array instances returns a hex-encoded string based on the data in this Uint8Array object.
  • October 9, 2026
    The setFromHex() method of Uint8Array instances populates this Uint8Array object with bytes from a hex-encoded string, returning an object indicating…
  • October 9, 2026
    The Uint8Array typed array represents an array of 8-bit unsigned integers.
  • October 9, 2026
    The Uint8Array.fromBase64() static method creates a new Uint8Array object from a base64-encoded string.
  • October 9, 2026
    The Uint8Array.fromHex() static method creates a new Uint8Array object from a hexadecimal string.
  • October 9, 2026
    The setFromBase64() method of Uint8Array instances populates this Uint8Array object with bytes from a base64-encoded string, returning an object indicating…
  • October 9, 2026
    The TypeError object represents an error when an operation could not be performed, typically (but not exclusively) when a value…
  • October 9, 2026
    The TypedArray[Symbol.species] static accessor property returns the constructor used to construct return values from typed array methods.
  • October 9, 2026
    A TypedArray object describes an array-like view of an underlying binary data buffer.
  • October 9, 2026
    The Symbol.toStringTag static data property represents the well-known symbol Symbol.toStringTag.
  • October 9, 2026
    The Symbol.unscopables static data property represents the well-known symbol Symbol.unscopables.
  • October 9, 2026
    The SyntaxError object represents an error when trying to interpret syntactically invalid code.
  • October 9, 2026
    The Symbol.toPrimitive static data property represents the well-known symbol Symbol.toPrimitive.
  • October 9, 2026
    The Symbol.species static data property represents the well-known symbol Symbol.species.
  • October 9, 2026
    The Symbol.split static data property represents the well-known symbol Symbol.split.
  • October 9, 2026
    The Symbol.replace static data property represents the well-known symbol Symbol.replace.
  • October 9, 2026
    The Symbol.search static data property represents the well-known symbol Symbol.search.
  • October 9, 2026
    The valueOf() method of Symbol values returns this symbol value.
  • October 9, 2026
    The Symbol.toPrimitive method of Symbol values returns this symbol value.
  • October 9, 2026
    The description accessor property of Symbol values returns a string containing the description of this symbol, or undefined if the…
  • October 9, 2026
    The toString() method of Symbol values returns a string representing this symbol value.
  • October 9, 2026
    The Symbol.matchAll static data property represents the well-known symbol Symbol.matchAll.
  • October 9, 2026
    The Symbol.match static data property represents the well-known symbol Symbol.match.
  • October 9, 2026
    The Symbol.isConcatSpreadable static data property represents the well-known symbol Symbol.isConcatSpreadable.
  • October 9, 2026
    The Symbol.iterator static data property represents the well-known symbol Symbol.iterator.
  • October 9, 2026
    The Symbol.keyFor() static method retrieves a shared symbol key from the global symbol registry for the given symbol.
  • October 9, 2026
    The Symbol.for() static method searches for existing symbols in a runtime-wide symbol registry with the given key and returns it…
  • October 9, 2026
    The Symbol.hasInstance static data property represents the well-known symbol Symbol.hasInstance.
  • October 9, 2026
    The Symbol.asyncIterator static data property represents the well-known symbol Symbol.asyncIterator.
  • October 9, 2026
    The Symbol.dispose static data property represents the well-known symbol Symbol.dispose.
  • October 9, 2026
    The Symbol() function returns primitive values of type Symbol.
  • October 9, 2026
    The Symbol.asyncDispose static data property represents the well-known symbol Symbol.asyncDispose.
  • October 9, 2026
    Symbol is a built-in object whose constructor returns a symbol primitive — also called a Symbol value or just a…
  • October 9, 2026
    The length data property of a String value contains the length of the string in UTF-16 code units.
  • October 9, 2026
    The slice() method of String values extracts a section of this string and returns it as a new string, without…
  • October 9, 2026
    The String.raw() static method is a tag function of template literals.
  • October 9, 2026
    The search() method of String values executes a search for a match between a regular expression and this string, returning…
  • October 9, 2026
    The replaceAll() method of String values returns a new string with all matches of a pattern replaced by a replacement.
  • October 9, 2026
    The repeat() method of String values constructs and returns a new string which contains the specified number of copies of…
  • October 9, 2026
    The replace() method of String values returns a new string with one, some, or all matches of a pattern replaced…
  • October 9, 2026
    The padEnd() method of String values pads this string with a given string (repeated and/or truncated, if needed) so that…
  • October 9, 2026
    The padStart() method of String values pads this string with a given string (repeated and/or truncated, if needed) so that…
  • October 9, 2026
    The match() method of String values retrieves the result of matching this string against a regular expression.
  • October 9, 2026
    The matchAll() method of String values returns an iterator of all results matching this string against a regular expression, including…
  • October 9, 2026
    The normalize() method of String values returns the Unicode Normalization Form of this string.
  • October 9, 2026
    The lastIndexOf() method of String values searches this string and returns the index of the last occurrence of the specified…
  • October 9, 2026
    The localeCompare() method of String values returns a number indicating whether this string comes before, or after, or is the…
  • October 9, 2026
    The indexOf() method of String values searches this string and returns the index of the first occurrence of the specified…
  • October 9, 2026
    The isWellFormed() method of String values returns a boolean indicating whether this string contains any lone surrogates.
  • October 9, 2026
    The concat() method of String values concatenates the string arguments to this string and returns a new string.
  • October 9, 2026
    The endsWith() method of String values determines whether a string ends with the characters of this string, returning true or…
  • October 9, 2026
    The includes() method of String values performs a case-sensitive search to determine whether a given string may be found within…
  • October 9, 2026
    The codePointAt() method of String values returns a non-negative integer that is the Unicode code point value of the character…
  • October 9, 2026
    The charCodeAt() method of String values returns an integer between 0 and 65535 representing the UTF-16 code unit at the…
  • October 9, 2026
    The at() method of String values takes an integer value and returns a new String consisting of the single UTF-16…
  • October 9, 2026
    The charAt() method of String values returns a new string consisting of the single UTF-16 code unit at the given…
  • October 9, 2026
    The String.fromCodePoint() static method returns a string created from the specified sequence of code points.
  • October 9, 2026
    The String() constructor creates String objects.
  • October 9, 2026
    The String.fromCharCode() static method returns a string created from the specified sequence of UTF-16 code units.
  • October 9, 2026
    The String object is used to represent and manipulate a sequence of characters.
  • October 9, 2026
    The Symbol.iterator method of Set instances implements the iterable protocol and allows Set objects to be consumed by most syntaxes…
  • October 9, 2026
    The Set[Symbol.species] static accessor property is an unused accessor property specifying how to copy Set objects.
  • October 9, 2026
    The symmetricDifference() method of Set instances takes a set and returns a new set containing elements which are in either…
  • October 9, 2026
    The union() method of Set instances takes a set and returns a new set containing elements which are in either…
  • October 9, 2026
    The isSubsetOf() method of Set instances takes a set and returns a boolean indicating if all elements of this set…
  • October 9, 2026
    The isSupersetOf() method of Set instances takes a set and returns a boolean indicating if all elements of the given…
  • October 9, 2026
    The intersection() method of Set instances takes a set and returns a new set containing elements in both this set…
  • October 9, 2026
    The isDisjointFrom() method of Set instances takes a set and returns a boolean indicating if this set has no elements…
  • October 9, 2026
    The forEach() method of Set instances executes a provided function once for each value in this set, in insertion order.
  • October 9, 2026
    The has() method of Set instances returns a boolean indicating whether the specified value exists in this Set or not.
  • October 9, 2026
    The entries() method of Set instances returns a new set iterator object that contains an array of [value, value] for…
  • October 9, 2026
    The delete() method of Set instances removes the specified value from this set, if it is in the set.
  • October 9, 2026
    The difference() method of Set instances takes a set and returns a new set containing elements in this set but…
  • October 9, 2026
    The add() method of Set instances inserts the specified value into this set, if it is not already present.
  • October 9, 2026
    Parameters: iterable If an iterable object (such as an array) is passed, all of its elements will be added to…
  • October 9, 2026
    The Set object lets you store unique values of any type, whether primitive values or object references.
  • October 9, 2026
    The containing() method of Segments instances returns an object describing the segment in the string that includes the code unit…
  • October 9, 2026
    The Symbol.iterator method of Segments instances implements the iterable protocol and allows Segments objects to be consumed by most syntaxes…
  • October 9, 2026
    A Segments object is an iterable collection of the segments of a text string.
  • October 9, 2026
    The RegExp[Symbol.species] static accessor property returns the constructor used to construct copied regular expressions in certain RegExp methods.
  • October 9, 2026
    The lastIndex data property of a RegExp instance specifies the index at which to start the next match.
  • October 9, 2026
    The Symbol.split method of RegExp instances specifies how String.prototype.split should behave when the regular expression is passed in as the…
  • October 9, 2026
    The Symbol.search method of RegExp instances specifies how String.prototype.search should behave.
  • October 9, 2026
    The Symbol.matchAll method of RegExp instances specifies how String.prototype.matchAll should behave.