JavaScript

programmin leid

JavaScript (/ˈɑː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.

JavaScript
Paradigm(s)event-driven, functional, imperative
Appeared inDecember 4, 1995; 28 years ago (1995-12-04)[1]
Designed biBrendan Eich tae stairt wey, an ither contributors tae the ECMAScript specification
Stable releaseECMAScript 2020[2] (Juin 2020; 4 years ago (2020-06))
Preview releaseECMAScript 2021
Typin disciplineDynamic, duck
Major implementationsV8, JavaScriptCore, SpiderMonkey, Chakra
Influenced biAWK[3], C, HyperTalk, Java[4], Lua, Perl, Python, Scheme, Self
InfluencedActionScript, 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.

References

eedit
  1. Press release announcing JavaScript, "Netscape and Sun announce JavaScript", PR Newswire, December 4, 1995
  2. "Standard ECMA-262". Ecma International. 17 Juin 2020.
  3. "Brendan Eich: An Introduction to JavaScript, JSConf 2010". p. 22m. Retrieved 25 November 2019. Eich: "function", eight letters, I was influenced by AWK.
  4. ""Coders at Work: Reflections on the Craft of programmin"". Retrieved 25 December 2018. Eich: The immediate concern at Netscape was it must look like Java.[deid airtin]
  5. "nodejs/node-eps". GitHub.
  6. "JavaScript". Collins English Dictionary – Complete & Unabridged 2012 Digital Edition. William Collins Sons & Co. 2012. Retrieved 21 August 2015.
  7. "ECMAScript® 2020 Language Specification".
  8. Flanagan, David. JavaScript - The definitive guide (6 ed.). p. 1. 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.
  9. Cite error: Invalid <ref> tag; no text was provided for refs named deployedstats

Bibliografie

eedit