为什么JavaScript称为JavaScript,因为它与Java无关? [英] Why is JavaScript called JavaScript, since it has nothing to do with Java?

查看:119
本文介绍了为什么JavaScript称为JavaScript,因为它与Java无关?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于JavaScript不是从Java派生的,为什么名称中有Java?

Since JavaScript is not derived from Java, why does it have "Java" in the name?

推荐答案

JavaScript,是最初命名为Mocha,之后将其重命名为LiveScript,然后重命名为JavaScript。

JavaScript, was originally named Mocha, later it was renamed to LiveScript, and then to JavaScript.

LiveScript到JavaScript名称的更改是因为Netscape和Sun签署了许可协议。

The LiveScript to JavaScript name change came because Netscape and Sun did a license agreement.

然后将该语言提交给 ECMA International 组织。到那时,Netscape不允许使用JavaScript名称,因此标准化语言命名为 ECMAScript

The language was then submitted for standarization to the ECMA International Organization. By that time, Netscape didn't allow the use of the "JavaScript" name, so the standarized language is named ECMAScript.

JavaScript实际上并不是一个开放的名称。现在它是Sun(现在的Oracle)的商标

JavaScript isn't actually an open name. Now it's a trademark of Sun (now Oracle).

仍有很多困惑,有些人仍然认为JavaScript,JScript和ECMAScript是三种不同的语言。

There still a lot of confusion, some people still think that JavaScript, JScript, and ECMAScript are three different languages.

ECMAScript是标准该语言的名称。

ECMAScript is the "standards" name for the language.

JavaScript在技术上是ECMAScript的方言,Mozilla Foundation可以使用JavaScript作为其实现的名称(目前存在于 Rhino SpiderMonkey 引擎)。

JavaScript is technically a "dialect" of ECMAScript, the Mozilla Foundation can use "JavaScript" as the name of their implementations (currently present on the Rhino and SpiderMonkey engines).

在早期,微软决定也做Netscape在他们自己的浏览器上做的事情,他们开发了 JScript ,也是一种ECMAScript方言,但在此命名避免商标问题的方法。

In the early days, Microsoft decided also to do what Netscape was doing on their own browser, and they developed JScript, which is also an ECMAScript dialect, but was named in this way to avoid trademark issues.

这篇关于为什么JavaScript称为JavaScript,因为它与Java无关?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆