0
If jQuery is a library of JavaScript how is it still faster than JavaScript
since it's a library it should be based on JavaScript therefore in background it should be calling JavaScript methods or properties(coz jQuery is API)
4 Réponses
+ 2
jQuery is absolutly not faster than JS: it cannot, as it's javascript code itself ^^
However, some features implemented by jQuery could be easily faster than custom implementation of equivalent ;)
Anyway, the main advantage of using jQuery was a better cross-browsers support and implementations of utilities not available in old JS engines... but todays that's from more to more less true, as browsers better support JS specifications (even ms Edge, despites the fact they remain the bad student :P) and modern ES5/ES6 features :)
+ 1
Is it really faster than javascript?
+ 1
Calviղ Maybe he checked speed. I also don't know that JQuery is faster than Javascript.
Is JQuery API?
0
I've seen in comments of jQuery tutorials they point towards this