3 ms·
Or you could use the class list polyfill.
by malandrew 12y ago
Or you could use the class list polyfill.
- organsnyder 12y agoIf that's all you need, then that would be fine. However, for most projects you end up needing many other such polyfills, to the point that you might as well use one library—jQuery—to provide them all (plus a lot of other functionality).