Improving Performance on Complex Diffs
bitbucket.org3 pointsby rcgs1 comments
[].forEach.call(document.querySelectorAll('div'), function(el) {
el.classList.add('new');
});
But I don't disagree that the jQuery example is easier to write/read/remember.