JavaScript
programmin leid / From Wikipedia, the free encyclopedia
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.
Paradigm(s) | event-driven, functional, imperative |
---|---|
Appeared in | December 4, 1995; 28 years ago (1995-12-04)[1] |
Designed bi | Brendan Eich tae stairt wey, an ither contributors tae the ECMAScript specification |
Stable release | ECMAScript 2020[2] (Juin 2020; 3 years ago (2020-06)) |
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 |
|
|
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.