eligrey / eligrey/classList.js

The specification of `DOMTokenList.prototype.contains` should return a boolean

Open
#84 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.1k
Forks
226
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.