JavaScript – DOMTokenList item() Method
The DOMTokenList item() method returns the token at a specified index in a DOMTokenList.
The DOMTokenList item() method returns the token at a specified index in a DOMTokenList.
The DOMTokenList keys() method returns an iterator with the keys from a DOMTokenList.
The DOMTokenList remove() method removes tokens from the 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 values() method returns an iterator with the keys from a DOMTokenList.
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.
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 history.back() method loads the previous page in the browser history list. The history.back() method only works if a previous page exists.
The history.forward() method loads the next page in the browser history list. The history.forward() method only works if a next page exists.
The history.go() method loads a specified page in the browser history list. The history.go() method only works if the specified page exists.