Skip to content

Instantly share code, notes, and snippets.

@avevlad
Created Jul 22, 2015
Embed
What would you like to do?
[].slice.call(document.querySelectorAll('[class]')).map(function (node) {
return node.className
}).sort(function (a, b) {
return b.length - a.length
}).slice(0, 50).map(function (elem) {
console.log(elem);
return elem;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment