Runtime used by jQuery

Is it correct to assume that JQuery is not really an implementation of the ECMA specification, but rather some kind of framework?

If so, what uptime is it using? For example in IE finally running out of javascript engine in IE?

thank

Sesh

0


source to share


3 answers


jQuery is written entirely in Javascript. It works using whatever Javascript engine in the browser that runs it, so if you run it in IE, it uses the IE engine. In Firefox, it uses the Firefox engine.

It's basically just an API built around a semi-standard Javascript API that every browser conforms to. It takes into account any quirks between browsers and flattens them (internally) for you, so that everything works the same regardless of browser when developing within the framework.



This follows the ECMA specification as much as each browser allows.

+4


source


jQuery is a framework written in javascript and of course it is run by the browser javascript engine.



+1


source


jQuery is not an ECMA spec, but a javascript framework. It can work in all modern browsers and provides an API that makes javascript development easier. Since the javascript environment is different from browsers, jQuery dynamically detects the browser and acts accordingly.

So, to answer your question, in IE it ends up running the IE javascript engine.

+1


source







All Articles