Conversation
ljharb
left a comment
There was a problem hiding this comment.
it's erroring when i try to add this suggestion:
Historically, the first implementation of what became JavaScript was called "Mocha", and then "LiveScript", which was later rewritten and became SpiderMonkey.
|
@ljharb Thanks for the suggestion, but I think it is slightly inaccurate as you are conflating the impl/engine with the language name. Mocha was the original impl (aka engine) name. The language shipped in a beta as LiveScript and was later changed to JavaScript. The implementation itself was not called LiveScript. |
|
Mocha was the original language codename as well. |
|
True, it was the working name for the project. This is a little sticky because we want the FAQ answer to be clear and accurate but without being too wordy. |
|
indeed from AWB's book glossary:
|
|
I've also commonly used JavaScript to refer to core ECMAScript + Web APIs. |
|
@ljharb I updated the last paragraph to something I think strikes a good balance. What do you think? |
@jridgewell Yeah, I thought about perhaps mentioning this. from the conversation that inspired this PR:
maybe good for a follow up, perhaps maybe its own question |
|
the trouble is I don't think it's helpful to encourage that generalization, e.g. that JavaScript necessarily includes web platform APIs |
|
I agree; web APIs are definitely not an inherent part of JavaScript. |
|
|
||
| "JavaScript" is not an implementation or engine. Examples of implementations include SpiderMonkey in Firefox, V8 in Chrome, and JavaScriptCore in Safari. | ||
|
|
||
| Historically, what became JavaScript began at Netscape under the working name "Mocha". The language was later called "LiveScript" in a Netscape Navigator beta, then renamed "JavaScript" for release. The original Mocha implementation was later rewritten and became SpiderMonkey. |
There was a problem hiding this comment.
Tried leaving this feedback yesterday, but GitHub was broken (again):
This isn't related enough to the question. I'd remove it.
There was a problem hiding this comment.
it's very deliberately there because the idea that "ES is the spec and JS is the impl" is an often-repeated idea that is mostly inaccurate. (it is actually the main reason I added this question to the FAQ.) the historical context sheds light on the root of how/why that started
No description provided.