3 ms·
Exactly. As a person who doesn not usually write Javascript, this project looks like an involutary advertisement for jQuery. Half of the native solutions have
by dullgiulio 10y ago
Exactly. As a person who doesn not usually write Javascript, this project looks like an involutary advertisement for jQuery.
Half of the native solutions have bugs or no IE support. All are three or more times more tendious than jQuery.
The adage in the other comments seem "but jQuery is a big dependency."
Did we already forget the left_pad npm debacle? jQuery didn't break then.
- throwanem 10y agoIf you're doing a bunch of these things, jQuery makes sense. If you're doing one of them, just write it out and move on. Don't pull in a multi-kilobyte dependency for one thing that takes two minutes to write. What relevance has left-pad here?