As you can see in [the specification](https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenList/contains), `DOMTokenList.prototype.contains` should return a boolean rather than a number.
As you can see in the specification,
DOMTokenList.prototype.containsshould return a boolean rather than a number.