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)

25th Apr 2020, 2:05 PM
Utkarsh Dhiman
Utkarsh Dhiman - avatar
4 odpowiedzi
+ 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 :)
25th Apr 2020, 5:00 PM
visph
visph - avatar
+ 1
Is it really faster than javascript?
25th Apr 2020, 2:26 PM
Calviղ
Calviղ - avatar
+ 1
Calviղ Maybe he checked speed. I also don't know that JQuery is faster than Javascript. Is JQuery API?
25th Apr 2020, 2:28 PM
A͢J
A͢J - avatar
0
I've seen in comments of jQuery tutorials they point towards this
25th Apr 2020, 3:59 PM
Utkarsh Dhiman
Utkarsh Dhiman - avatar