add
Description
The add of DOMTokenList for JS adds all arguments passed, except those already present.
Throws a "SyntaxError" DOMException if one of the arguments is the empty string.
Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace.
Syntax
tokenlist.add(tokens…)
Parameters
tokens
A list of strings.