JavaScript
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.
References
[eedit | eedit soorce]- ↑ Press release announcing JavaScript, "Netscape and Sun announce JavaScript", PR Newswire, December 4, 1995
- ↑ "Standard ECMA-262". Ecma International. 17 Juin 2020.
- ↑ "Brendan Eich: An Introduction to JavaScript, JSConf 2010". p. 22m. Retrieved 25 November 2019.
Eich: "function", eight letters, I was influenced by AWK.
- ↑ ""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] - ↑ "nodejs/node-eps". GitHub.
- ↑ "JavaScript". Collins English Dictionary – Complete & Unabridged 2012 Digital Edition. William Collins Sons & Co. 2012. Retrieved 21 August 2015.
- ↑ "ECMAScript® 2020 Language Specification".
- ↑ 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.
- ↑ Cite error: Invalid
<ref>
tag; no text was provided for refs nameddeployedstats
Bibliografie
[eedit | eedit soorce]- Flanagan, David (2011). JavaScript: The Definitive Guide (6th ed.). O'Reilly & Associates. ISBN 978-0-596-80552-4.CS1 maint: ref=harv (link)
- Airticles wi deid fremmit airtins frae July 2024
- 1995 introductions
- American inventions
- Cross-platform saftware
- Dynamically teeped programmin leids
- Functional leids
- JavaScript
- Object-based programmin leids
- Programmin leids creatit in 1995
- Programmin leids wi an ISO staundart
- Prototeep-based programmin leids
- Scriptin leids
- Wab programmin