Paradigm(s) | event-driven, functional, imperative |
---|---|
Appeared in | December 4, 1995[1] |
Designed bi | Brendan Eich tae stairt wey, an ither contributors tae the ECMAScript specification |
Stable release | ECMAScript 2020[2] (Juin 2020 ) |
Preview release | ECMAScript 2021 |
Typin discipline | Dynamic, duck |
Major implementations | V8, JavaScriptCore, SpiderMonkey, Chakra |
Influenced bi | AWK[3], C, HyperTalk, Java[4], Lua, Perl, Python, Scheme, Self |
Influenced | ActionScript, AtScript, CoffeeScript, Dart, JScript .NET, LiveScript, Objective-J, Opa, QML, Raku, TypeScript |
Usual filename extensions |
|
|
JavaScript (/ˈdʒɑːvəˌskrɪpt/),[6] often abbreviated as JS, is a programmin leid that conforms tae the ECMAScript specification.[7] JavaScript is heich-level, after juist-in-time compiled, an multi-paradigm. It haes curly-bracket syntax, dynamic typin, prototype-based object-orientation, and first-class functions.
As a multi-paradigm leid, JavaScript supports event-driven, functional, and imperative programmin styles. It has application programmin interfaces (APIs) for workin wae text, dates, regular expressions, staundart data structures, an the Document Object Model (DOM). Howiver, the leid itsel disane include ony input/output (I/O), lik networking, storage, or graphics facilities, an it is up tae the host environment (aften a wab brouser) tae gie thae APIs.
Alangside HTML an CSS, JavaScript is ane of the main technologies o the Warld Wide Wab.[8] JavaScript allous wab pages tae be interactive and is an necessar parit o wab applications. Maist wabstaids uise it for client-side page behaviours,[9] an aw the main wab brousers hae a dedicatit JavaScript ingine tae execute it.
Eich: "function", eight letters, I was influenced by AWK.
Eich: The immediate concern at Netscape was it must look like Java.[deid airtin]
JavaScript is ane o the three technologies that perfaision wab developers are expectit tae learn. HTML is needit specify the content of wab pages, CSS tae specify the presentation of wab pages and JavaScript to specify the behaviour of wab pages.
<ref>
tag; no text was provided for refs named deployedstats