JavaScript – DOMTokenList replace() Method
The DOMTokenList replace() method replaces a token in a DOMTokenList, which is a set of space separated tokens that can be accessed by index.
The DOMTokenList replace() method replaces a token in a DOMTokenList, which is a set of space separated tokens that can be accessed by index.
The DOMTokenList supports() method returns “true” if a token in a DOMTokenList is one of the attribute’s supported tokens.
The DOMTokenList toggle() method toggles a token in a DOMTokenList on or off.
The DOMTokenList value property returns a DOMTokenList as a string
The DOMTokenList values() method returns an iterator with the keys from a DOMTokenList.
The Error object provides error information when an error occurs. The message property sets or returns an error message.
The Error object provides error information when an error occurs. The name property sets or returns the name of an error.
The JavaScript decodeURI() method decodes (i.e., removes %20 and replaces it with a space) a URI.
The JavaScript decodeURIComponent() method decodes (i.e., removes %20 and replaces it with a space) a URI component.
The JavaScript encodeURIComponent() method encodes a URI component.
A number reaches infinity when it exceeds the upper or lower limit for a number, which is positive or negative infinity (±1.797693134862315E+308).
The JavaScript isFinite() method returns “true” if a value is a finite number (not Infinity, -Infinity, or NaN).
The JavaScript isNaN() method returns true if a value is NaN (not a number).
The JavaScript Number() method converts a value to a number. If the value cannot be converted, NaN (not a number) is returned.
The JavaScript parseFloat() method parses a value as a string and returns the first number.
The JavaScript parseInt() method parses a value as a string and returns the first integer.
The undefined property indicates that a variable has not been assigned a value, or not declared at all.