HTML5 classList feature detection:
if (!!document.createElement('p').classList) {
// native classList support
};
/cc @diveintomark
12:13 AM - 16 Jul 2010
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.