javascript has NO relationship with java, except name
所有跟贴·加跟贴·新语丝读书论坛
送交者: yingbo 于 2009-03-19, 19:53:14:
回答: Inaccurate. The syntax has been inherited: C -> C++ -> Java -> C#. 由 apple 于 2009-03-19, 18:55:07:
看看wikipedia吧:
"JavaScript, despite the name, is essentially unrelated to the Java programming language, although both have the common C syntax, and JavaScript copies many Java names and naming conventions. The language's name is the result of a co-marketing deal between Netscape and Sun, in exchange for Netscape bundling Sun's Java runtime with their then-dominant browser. The key design principles within JavaScript are inherited from the Self and Scheme programming languages."
http://en.wikipedia.org/wiki/JavaScript
所有跟贴:
加跟贴