TypeScript vs jQuery

Posted September 9, 2022 by Rohith and Anusha ‐ 2 min read

JavaScript is a major scripting programming language that is used to make websites more responsive and interactive. It is one of the pivoted parts alongside HTML and CSS which are used to create web pages. JQuery is a framework for javaScript which developed from JavaScript. It is the most popular JavaScript library invented by John Resign and was released in January 2006 at BarCamp NYC. It is a free, open-source library and It’s a fast, concise, and rich-featured JavaScript library and also has cross-browser compatibility.

Key differences between JavaScript and JQuery are as follow :

JavaScriptjQuery
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.
Brendan Eich created JavaScript at Netscape.jQuery is created by John Resig.
JavaScript is a programming language.jQuery is an Application Programming Interface (API).
quick-references blog typescript jquery differences

Subscribe For More Content