Conclusion: there is no source code for a language. Just like the 26 letters of the English alphabet, the Pinyin of Chinese, or its components, they are not “source code”, the language is just a set of grammatical standards and programming paradigms.
Here’s a similar Q&A on Stackoverflow:
Where is JavaScript?
In short…
- Where is the source code of JavaScript itself? Something like
jquery.js
.backbone.js
. where is the “javascript.js
“? - Who is the authority that establishes the requirements for JavaScript? While the custodian of Java is clearly Oracle, I don’t see any counterpart “owner” for JavaScript.
Where is the source code for JavaScript itself? Who governs and writes the rules for JavaScript?
Answer:
The JavaScript language has no source code, it simply defines a set of standards and programming paradigms that are implemented in code by the JavaScript engine.
1) JS engine
If you must find a source code for JS, it is the JS engine. En.wikipedia.org/wiki/JavaSc… JavaScript engine – Wikipedia, the free encyclopedia
It is up to the browser (or the runtime) to choose which engine to use
JS runtime environments, each with its own JS engine:
- Firefox → SpiderMonkey
- The Chrome – V8
- The Safari – JavaScriptCore
- IE – available
- Node. Js – V8
- The Edge – V8
You can think of the following as the source code of JS itself. That’s all I found, but I’m not going to look
- SpiderMonkey:
- SpiderMonkey
- Treeherder
- V8: Monorail – v8 – V8 JavaScript Engine – Monorail
- JavaScriptCore:
- WebKit#JavaScriptCore
- WebKit – Wikipedia, the free encyclopedia
- JScript: Chakra_
2) Who owns JavaScript?
JS is in his 20s, approaching his 30s, about the same age as most of us are today. It had a strange childhood — it was so popular. For those interested, look at JavaScript for 20 years.
- Place of birth: Born in 1995, Netscape. Netscape employee Brandon Acker spent 10 days in May 1995 prototyping the scripting language, called “Mocha,” and then renamed it “LiveScript,” before trying to catch up
Java
The programming language “hot word” temporarily renamed toJavaScript
. - Maintainer: Netscape again. Later renamed Mozilla, the birthplace of the Firefox browser, it maintains the JS language model specification. mdn.io/
- Trademark owner: Oracle,
JavaScript
The trademark has always beenOracleRegistered. - The challenger: Internet explorer. Internet Explorer “reverse engineered” a lot of its browser wars with Netscape
JavaScript
Interpreter content, the creation of “JScript” and the addition of a number of IE specific objects, led to the loss of standardization of the language. (I used to think of IE as a spoiler, when I learned about the history of JS and browsersIE
In fact, it has promoted the progress of the computer information industry to a large extent. It is full of ideas and has done a lot of meaningful initiatives, but it seems to be a little aloof and unsociable. - Operator (standardization)ECMA (European Computer Manufacturers Association). ** Netscape was losing ground in the browser wars, and the browser scripting standards were falling apart, and there needed to be a third party that could do justice. November 1996, Netscape to
ECMA
Render theJavaScript
For the protection, publicity and promotion of the association. thenECMA-262
The draft was published.
ECMA-262 – Ecma International
The draft of the ECMA – 262
- Language_Resources
- JavaScript
- ECMA homepage
JavaScript = ECMAScript + DOM + BOM. The JavaScript standard has no specific maintainer, but is customized by ECMA and the major browser vendors (the DOM and BOM interface implementations).
Since ES5, ECMA has released new features for the language every year. The TypeScript library lib directory is an example of the evolution of es releases over time.
Mind mapping