JavaScript: Difference between revisions

Content deleted Content added
JavaScript is an implementation of ECMAScript
Undid revision 500149773 by PointedEars (talk) JavaScript precedes ECMAScript, so the "was formalized in" formulation seems better
Line 55:
'''JavaScript''' (sometimes abbreviated '''JS''') is a [[prototype-based]] [[scripting language]] that is [[dynamic language|dynamic]], [[weak typing|weakly typed]] and has [[first-class functions]]. It is a [[multi-paradigm]] language, supporting [[Object-oriented programming|object-oriented]],<ref name="ECMA-262">{{cite web|url=http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf | title= ECMAScript Language Specification }}</ref> [[imperative programming|imperative]], and [[functional programming|functional]]<ref name="jsfunc">{{cite video |people= [[Douglas Crockford]] |date= |title= Douglas Crockford on Functional JavaScript |url= http://www.blinkx.com/video/douglas-crockford-on-functional-javascript/xscZz8XhfuNQ_aaVuyUB2A |format= flv |medium= Tech talk |publisher=[[blinkx]] |time= 2:49 |quote=[JavaScript] is also coincidentally the world's most popular functional programming language. JavaScript is and has always been, at least since [version] 1.2, a functional programming language.}}</ref><ref>[http://www.crockford.com/javascript/little.html The Little JavaScripter] shows the relationship with Scheme in more detail.</ref> programming styles.
 
JavaScript iswas anformalized implementation ofin the [[ECMAScript]] language standard, and is primarily used in the form of [[client-side JavaScript]], implemented as part of a [[Web browser]] in order to give enhanced [[user interface]]s and dynamic [[website]]s. This enables [[Computer programming|programmatic]] access to computational objects within a host environment.
 
JavaScript's use in [[Application software|applications]] outside Web pages&nbsp;— for example in [[Portable Document Format|PDF]] documents, [[site-specific browser]]s, and [[desktop widget]]s&nbsp;— is also significant. Newer and faster JavaScript [[Virtual machine|VMs]] and frameworks built upon them (notably [[Node.js]]) have also increased the popularity of JavaScript for server-side web applications.