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

Glossary Term

DOMTokenList.add()

3 tags 1 category

The add() method of the DOMTokenList interface adds the given tokens to the list, omitting any that are already present.

Inputs: tokenN A string representing a token (or tokens) to add to the DOMTokenList.

Exceptions: SyntaxError DOMException Thrown if one of the arguments is an empty string InvalidCharacterError DOMException Thrown if a token contains ASCII whitespace.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…