add

fun add(vararg tokens: T)(source)

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

MDN Reference