DOMTokenList: contains() (Specification)
Array.prototype.includes() (Specification)
Have you ever mixed these two? I have!
I was wondering why have 2 different words for what seems to be the same function.
Which one came first? Would it be possible to change one so both match?
Are DOMTokenLists and Arrays THAT different? 😀