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