3 ms·
Unless I cut off blood flow to my brain while napping, the author is not understanding prototype methods. The code below has nothing to do with the prototypal i
by michaelwww 13y ago
Unless I cut off blood flow to my brain while napping, the author is not understanding prototype methods. The code below has nothing to do with the prototypal inheritance method as asserted in the Class manipulation subsection:
$('div').addClass('myClass');
Also, this could be reframed as "Is it time to drop jQuery 1.x and move to jQuery 2.x?" because if you still need jQuery 1.x, you're going to have a bad time writing vanilla JS.