它是 JavaScript 还是 Javascript?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3989731/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Is it JavaScript or Javascript?
提问by Andrew Hedges
I know this isn't programming-related, but I'm curious what this community thinks about the subject. My understanding is that JavaScript is what the language is named. Lately, it seems to have become trendy to write it Javascript. Who are we to rename the language? I'm interested to hear if there is a cogent argument for changing the capitalization. Thanks for indulging me!
我知道这与编程无关,但我很好奇这个社区对这个主题的看法。我的理解是 JavaScript 就是该语言的名称。最近,用 Javascript 编写它似乎变得流行起来。我们是谁来重命名语言?我很想知道是否有改变大写的有力论据。谢谢你放纵我!
回答by Rocket Hazmat
It's JavaScript.
它是JavaScript。
回答by Nick Craver
The official name is JavaScript, though it really doesn't matter in practice :)
官方名称是JavaScript,尽管在实践中它真的无关紧要:)
You can view the documentation here. Note that JavaScript is not the same as ECMAScript as the other answers suggest, it's an implementation ofECMAScript.
您可以在此处查看文档。请注意,JavaScript 与其他答案所暗示的ECMAScript 不同,它是ECMAScript的实现。
回答by nmichaels
It's spelled ECMAScript.
它的拼写是 ECMAScript。
回答by Klaus Byskov Pedersen
回答by jwueller
I vote for ECMAScript!
我投票给 ECMAScript!
Sounds like CW, by the way.
顺便说一下,听起来像 CW。
回答by subhaze
JavaScript is trademarked by Sun, which is now Oracle. The true naming is ECMAScript but JavaScript is the well known name for it.
JavaScript 是 Sun(现在是 Oracle)的商标。真正的命名是 ECMAScript,但 JavaScript 是众所周知的名称。

