3 ms·
fwiw: This is purely an opinion/speculation. I would imagine that it's has to do with JavaScript being a language that conforms to a standard (ECMA-262 specifi
by daveslash 13y ago
fwiw: This is purely an opinion/speculation.
I would imagine that it's has to do with JavaScript being a language that conforms to a standard (ECMA-262 specification and ISO/IEC 16262). jQuery is a library that sits on top of JavaScript - that is, it's just more JavaScript that makes things all ready available in JavaScript a little easier for developers to work with. jQuery also, to my knowledge, does not adhere to any standard.
jQuery is also updated periodically, which can potentially introduce different behaviors. If jQuery shipped with the browser, then a website might behave differently based on what version of jQuery was coupled with the browser. I know that standards, like JavaScript, are also updated and can introduce discrepancies, but with a standard you have a little more concreteness.