JavaScript: Difference between revisions

Content deleted Content added
m Reverted edits by 173.180.101.194 (talk) to last version by Fred Gandt
Restored article after user restored broken info box. Info box is now again in one piece as it should be.
Tag: references removed
Line 1:
 
{{distinguish|Java (programming language)}}
 
{{redirect|Java Script|the writing system|Javanese script}}
 
{{Selfref|For the use of JavaScript on Wikipedia, see [[Wikipedia:JavaScript]].}}
 
{{Infobox programming language
| name = JavaScript
| logo = [[Filefile:JavaScript-logo.png|100pxframeless|JavaScript]]
| name caption = JavaScript
| paradigm = [[Multi-paradigm]]: [[scripting language|scripting]], [[prototype-based programming|prototype-based]], [[imperative programming|imperative]], [[functional programming|functional]]<ref name="jsfunc"/>
| file extension = .js
| year = 1995
| paradigm = [[Multi-paradigm]]: [[scripting language|scripting]], [[prototype-based programming|prototype-based]], [[imperative programming|imperative]], [[functional programming|functional]]<ref name="jsfunc"/>
| designer = [[Brendan Eich]]
| yearreleased = 1995
| developer = [[Netscape Communications Corporation]], [[Mozilla Foundation]]
| designer = [[Brendan Eich]]
| latest_release_version = 1.8.2<ref>[https://developer.mozilla.org/en/firefox_3.6_for_developers#JavaScript Firefox 3.6 supports JavaScript 1.8.2]</ref>
| developer = [[Netscape Communications Corporation]], [[Mozilla Foundation]]
| latest_release_date = {{release date and age|2009|6|22}}
| latest_release_version latest release version = 1.8.2<ref>[https://developer.mozilla.org/en/firefox_3.6_for_developers#JavaScript Firefox 3.6 supports JavaScript 1.8.2]</ref>
| latest_preview_version = 1.8.5<ref>
| latest_release_date latest release date = {{release date and age|2009|6|22}}
{{cite web
| latest releasepreview version = 1.8.5<ref>{{cite web
| url = https://developer.mozilla.org/en/JavaScript/New_in_JavaScript/1.8.5
| title url = New in https://developer.mozilla.org/en/JavaScript /New_in_JavaScript/1.8.5
| title = New in JavaScript 1.8.5
| publisher = mozilla.org
| date =
| accessdate = August 10, 2010
}}</ref>
| latest_preview_date latest preview date = {{Release date|2010|7|27}}
| typing = [[dynamic typing|dynamic]], [[weak typing|weak]], [[duck typing|duck]]
| implementations = [[KDE's JavaScript engine|KJS]], [[Rhino (JavaScript engine)|Rhino]], [[SpiderMonkey (JavaScript engine)|SpiderMonkey]], [[V8 (JavaScript engine)|V8]], [[WebKit]], [[Presto_(layout_engine)#ECMAScript_engines|Carakan]], [[Chakra (JScript engine)|Chakra]]
| dialects =
| influenced_by = [[C (programming language)|C]], [[Java (programming language)|Java]], [[Perl]], [[Python (programming language)|Python]], [[Scheme (programming language)|Scheme]], [[Self programming language|Self]]
| influenced by = [[ActionScript]],C [[CoffeeScript(programming language)|C]], [[DartJava (programming language)|DartJava]], [[JScript .NETPerl]], [[Objective-JPython (programming language)|Python]], [[QMLScheme (programming language)|Scheme]], TIScript[[Self programming language|Self]]
| influenced = [[ActionScript]], [[CoffeeScript]], [[Dart (programming language)|Dart]], [[JScript .NET]], [[Objective-J]], [[QML]], TIScript
| license =
| mime = application/javascript</code><br /><code>text/javascript</code>&nbsp;(obsolete)<ref>[http://www.apps.ietf.org/rfc/rfc4329.html#sec-7.1 RFC 4329]</ref>
| website =
| uniform type = com.netscape.javascript-​source<ref>{{cite web
| wikibooks = JavaScript
| publisher = Apple Inc.
}}
| url = http://developer.apple.com/mac/library/documentation/Miscellaneous/Reference/UTIRef/Articles/System-DeclaredUniformTypeIdentifiers.html
{{Infobox file format
| title = System-Declared Uniform Type Identifiers
| name = JavaScript
| work = Mac OS X Reference Library
| icon =
| accessdate = 2010-03-05
| logo =
| screenshot =
| caption =
| extension = .js
| mime = application/javascript</code><br /><code>text/javascript</code>&nbsp;(obsolete)<ref>[http://www.apps.ietf.org/rfc/rfc4329.html#sec-7.1 RFC 4329]</ref>
| type code =
| uniform type = com.netscape.javascript-​source<ref>
{{cite web
| publisher = Apple Inc.
| url = http://developer.apple.com/mac/library/documentation/Miscellaneous/Reference/UTIRef/Articles/System-DeclaredUniformTypeIdentifiers.html
| title = System-Declared Uniform Type Identifiers
| work = Mac OS X Reference Library
| accessdate = 2010-03-05
}}</ref>
| wikibooks = JavaScript
| magic =
| owner =
| released =
| latest release version =
| latest release date =
| genre = [[Scripting language]]
| container for =
| contained by =
| extended from =
| extended to =
| standard =
| url =
}}
 
{{JavaScriptSidebar}}
 
Line 69 ⟶ 51:
 
== History ==
{{quote box|width = 200px|Anyway I know only one [[programming language]] worse than [[C (programming language)|C]] and that is Javascript. [...] I was convinced that we needed to build-in a programming language, but the developers, [[Tim Berners-Lee|Tim]] first, were very much opposed. It had to remain completely declarative. Maybe, but the net result is that the programming-vacuum filled itself with the most horrible [[Kludge|kluge]] in the history of computing: Javascript.|[[Robert Cailliau]]<ref>[[wikinews:Wikinews:Story preparation/Interview with Robert Cailliau]]</ref>}}
JavaScript was originally developed by [[Brendan Eich]] of Netscape under the name ''Mocha'', which was later renamed to ''LiveScript'', and finally to JavaScript mainly because it was more influenced by the [[Java programming language]].<ref>{{cite web|last=Krill |first=Paul |url=http://www.infoworld.com/article/08/06/23/eich-javascript-interview_1.html |title=JavaScript creator ponders past, future |publisher=InfoWorld |date=2008-06-23 |accessdate=2009-05-19}}</ref><ref name="computerworld">{{cite web|last=Hamilton|first=Naomi|url=http://www.computerworld.com.au/article/255293/-z_programming_languages_javascript|title=The A-Z of Programming Languages: JavaScript|publisher=computerworld.com.au|date=2008-06-31}}</ref>
LiveScript was the official name for the language when it first shipped in beta releases of Netscape Navigator 2.0 in September 1995, but it was renamed JavaScript in a joint announcement with Sun Microsystems on December 4, 1995,<ref>[http://web.archive.org/web/20070916144913/http://wp.netscape.com/newsref/pr/newsrelease67.html Press release announcing JavaScript], "Netscape and Sun announce Javascript(TM)", PR Newswire, Dec 4, 1995</ref> when it was deployed in the Netscape browser version 2.0B3.<ref name="techvision">{{cite web |archiveurl=http://web.archive.org/web/20080208124612/http://wp.netscape.com/comprod/columns/techvision/innovators_be.html |archivedate=2008-02-08 |title=TechVision: Innovators of the Net: Brendan Eich and JavaScript |publisher=Web.archive.org |date= |accessdate=2010-06-14}}</ref>