JavaScript uses JIT[Just in Time Compiler] which is a combination of interpreter and Compile and is written in C. It's a combination of ECMA script and DOM (Document Object Model).
| While JQuery Uses the resources that are provided by JavaScript to make things easier. It is a lightweight JavaScript library. It has only the DOM.
|
JavaScript uses long lines of code as an individual has to write the code own-self.
| With JQuery, one has to write fewer lines of code than JavaScript. We just need to import the library and use the only specific functions or methods of the library in our code.
|
In JavaScript, we have to write extra code or move around to have cross-browser compatibility.
| JQuery has an inbuilt feature of cross-browser compatibility. We don’t need to worry about writing extra lines of code or moving around in order to make our code compatible with any browser.
|
JavaScript can be a burden over a developer as it may take a number of lines of lengthy code to attain functionality.
| Unlike JavaScript, JQuery is more user-friendly only a few lines of code have to write in order to have its functionality.
|
JavaScript is verbose because one has to write their own scripting code which is time-consuming.
| JQuery is concise and one need not write much as scripting already exists.
|
Pure JavaScript can be faster for DOM selection/manipulation than jQuery as JavaScript is directly processed by the browser and it curtails the overhead which JQuery actually has.
| JQuery is also fast with modern browsers and modern computers. JQuery has to be converted into JavaScript to make it run in a browser.
|
We can make animations in JavaScript with many lines of code. Animations are mainly done by manipulating the style of an Html page.
| In JQuery, we can add animation effects easily with fewer lines of code.
|
JavaScript is a language, obviously, it would be heavier than JQuery.
| While JQuery is a library, derived from JavaScript hence, it is lightweight.
|
JavaScript is an independent language and can exist on its own.
| JQuery is a JavaScript library. It would not have been invented had JavaScript was not there. jQuery is still dependent on JavaScript as it has to be converted to JavaScript for the browser in-built JavaScript engine to interpret and run it.
|
Brendan Eich created JavaScript at Netscape. | jQuery is created by John Resig. |
JavaScript is a programming language. | jQuery is an Application Programming Interface (API). |
There are no special symbols to define JavaScript like JQuery. | There are special symbols to define JQuery. |
The disadvantage of JavaScript is that it is not easy to use it. | The advantage of JQuery is the ease in which one can use JQuery. |