ran npm run tester
This commit is contained in:
2
test/hasClass/hasClass.js
Normal file
2
test/hasClass/hasClass.js
Normal file
@ -0,0 +1,2 @@
|
||||
const hasClass = (el, className) => el.classList.contains(className);
|
||||
module.exports = hasClass
|
||||
Reference in New Issue
Block a user