Content deleted Content added
No edit summary |
ClueBot NG (talk | contribs) m Reverting possible vandalism by 24.89.179.19 to version by Rodw. Report False Positive? Thanks, ClueBot NG. (3284833) (Bot) |
||
Line 59:
'''JavaScript''' ({{IPAc-en|ˈ|dʒ|ɑː|v|ə|ˌ|s|k|r|ɪ|p|t}}<ref>{{cite web | url= http://dictionary.reference.com/browse/javascript | title= JavaScript | publisher= William Collins Sons & Co | work= Collins English Dictionary – Complete & Unabridged 2012 Digital Edition | date= 2012 | accessdate= 21 August 2015}}</ref>), often abbreviated as '''JS''', is a [[High-level programming language|high-level]], [[dynamic programming language|dynamic]], [[Weak typing|weakly typed]], [[prototype-based programming|prototype-based]], [[Multi-paradigm programming language|multi-paradigm]], and [[Interpreted language|interpreted]] [[programming language]]. Alongside [[HTML]] and [[CSS]], JavaScript is one of the three core technologies of [[World Wide Web]] [[content engineering | content production]]. It is used to make webpages interactive and provide online programs, including video games. The majority of [[website]]s employ it, and all modern [[web browser]]s support it without the need for [[Browser extension|plug-ins]] by means of a built-in [[JavaScript engine]]. Each of the many JavaScript engines represent a different implementation of JavaScript, all based on the [[ECMAScript]] specification, with some engines not supporting the spec fully, and with many engines supporting additional features beyond ECMA.
As a multi-paradigm language, JavaScript supports [[Event-driven programming|event-driven]], [[functional programming|functional]], and [[imperative programming|imperative]] (including [[Object-oriented programming|object-oriented]] and [[Prototype-based programming|prototype-based]]) [[programming paradigm | programming style]]s. It has an [[Application programming interface|API]] for working with text, [[Array data type|arrays]], dates, [[regular expression]]s, and basic manipulation of the [[Document_Object_Model|DOM]], but the language itself does not include any [[Input/output|I/O]], such as networking, storage, or graphics facilities, relying for these upon the host environment in which it is embedded.▼
▲, JavaScript supports [[Event-driven programming|event-driven]], [[functional programming|functional]], and [[imperative programming|imperative]] (including [[Object-oriented programming|object-oriented]] and [[Prototype-based programming|prototype-based]]) [[programming paradigm | programming style]]s. It has an [[Application programming interface|API]] for working with text, [[Array data type|arrays]], dates, [[regular expression]]s, and basic manipulation of the [[Document_Object_Model|DOM]], but the language itself does not include any [[Input/output|I/O]], such as networking, storage, or graphics facilities, relying for these upon the host environment in which it is embedded.
Initially only implemented [[client-side]] in web browsers, JavaScript engines are now embedded in many other types of host software, including [[server-side]] in web servers and databases, and in non-web programs such as word processors and [[Portable Document Format|PDF]] software, and in runtime environments that make JavaScript available for writing mobile and desktop applications, including desktop widgets.
Line 81 ⟶ 80:
Although it was developed under the name '''Mocha''', the language was officially called '''LiveScript''' when it first shipped in beta releases of Netscape Navigator 2.0 in September 1995, but it was renamed '''JavaScript'''<ref name="press_release" /> when it was deployed in the Netscape Navigator 2.0 beta 3 in December.<ref name="techvision">{{cite web | archiveurl=https://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 | url=http://wp.netscape.com/comprod/columns/techvision/innovators_be.html }}</ref> The final choice of name caused confusion, giving the impression that the language was a spin-off of the Java programming language, and the choice has been characterized<ref>{{Citation|last=Fin JS|title=Brendan Eich - CEO of Brave|date=2016-06-17|url=https://www.youtube.com/watch?v=XOmhtfTrRxc&feature=youtu.be&t=2m5s|accessdate=2018-02-07}}</ref> as a marketing ploy by Netscape to give JavaScript the cachet of what was then the hot new Web programming language.
There is a common misconception that
=== Server-side JavaScript ===
|