ECMAScript: Difference between revisions

Content deleted Content added
m top: Remove unnecessary <span> tag
Whitespace characters cut to standardize, aid work via small screens. WP:LINKs: needless WP:PIPE > WP:NOPIPE, adds. Small WP:COPYEDITs WP:EoS WP:TERSE. MOS:FIRSTABBReviation clarify, define before WP:ABBR in parentheses. Template:Monospace update > Template:Mono. Template:Main article update > Template:Main. WP:NAVBOX update.
Line 1:
{{Short description|Specification for Javascript and other programming languages}}
{{Infobox programming language
| name = ECMAScript
| paradigm = [[Multi-paradigm]]: [[prototype-based programming|prototype-based]], [[functional programming|functional]], [[imperative programming|imperative]]
| designer = [[Brendan Eich]], [[Ecma International]]
| typing = [[weak typing|weak]], [[dynamic typing|dynamic]]
| implementations = [[JavaScript]], [[SpiderMonkey]], [[V8 (JavaScript engine)|V8]], [[ActionScript]], [[JScript]], [[QtScript]], [[InScript (JavaScript engine)|InScript]], [[Google Apps Script]]
| website = {{URL|https://www.ecma-international.org/publications-and-standards/standards/ecma-262/}}
| year = {{Start date and age|1997}}
| influenced_by = [[Self (programming language)|Self]], [[HyperTalk]], [[AWK]], [[C (programming language)|C]], [[CoffeeScript]], [[Perl]], [[Python (programming language)|Python]], [[Java (programming language)|Java]], [[Scheme (programming language)|Scheme]]
}}
{{Infobox file format
| name = ECMAScript (file format)
| icon = [[File:Crystal source.svg]]
| logo =
| screenshot =
| caption =
| extension = .es
| mime = application/ecmascript
| type code =
| uniform type =
| magic =
| owner = [[Sun Microsystems]],<br />[[Ecma International]]
| released = {{Start date and age|1997|06}}
| latest release version = Edition 13
| latest release date = {{start date and age|2022|06}}
| genre = [[Scripting language]]
| container for =
| contained by =
| extensions = JavaScriptes
| extended to =
| standard =
| url = [http://www.ecma-international.org/publications/standards/Ecma-262.htm ECMA-262], [http://www.ecma-international.org/publications/standards/Ecma-290.htm ECMA-290],<br />[http://www.ecma-international.org/publications/standards/Ecma-327.htm ECMA-327], [https://web.archive.org/web/20131104082608/http://www.ecma-international.org/publications/standards/Ecma-357.htm ECMA-357],<br />[http://www.ecma-international.org/publications/standards/Ecma-402.htm ECMA-402]
}}
 
'''ECMAScript''' ({{IPAc-en|'|ɛ|k|m|ə|s|k|r|ɪ|p|t}}; '''ES''')<ref>{{cite book
|last1 = Stefanov
|first1 = Stoyan
|title = JavaScript Patterns
|url = https://books.google.com/books?id=WTZqecc9olUC
|publisher = O'Reilly Media, Inc.
|date = 2010
|page = 5
|isbn = 9781449396947
|access-date = 2016-01-12
|quote = The core JavaScript programming language [...] is based on the ''ECMAScript'' standard, or ES for short.
|archive-date = 2016-06-10
|archive-url = https://web.archive.org/web/20160610005241/https://books.google.com/books?id=WTZqecc9olUC
|url-status = live
}}</ref> is a [[JavaScript]] standard intended to ensure the [[interoperability]] of [[web page]]s across different [[web browser|browser]]s.<ref>{{cite journal |last1=Wirfs-Brock |first1=Allen |last2=Eich |first2=Brendan |date=2020-05-02 |year=2020 |title=JavaScript: The First 20 Years |journal=Proceedings of the ACM on Programming Languages |volume=4 |pages=1–189 |doi=10.1145/3386327 |doi-access=free |s2cid=219603695}}</ref> It is standardized by [[Ecma International]] in the document [https://www.ecma-international.org/publications-and-standards/standards/ecma-262/ ECMA-262].
 
ECMAScript is commonly used for [[client-side scripting]] on the [[World Wide Web]], and it is increasingly being used forto writingwrite server-side applications and services using [[Node.js]] and other runtime environments.{{Cn|date=April 2023}}
 
== ECMAScript, ECMA-262 and, JavaScript ==
 
'''ECMA-262''', or the ''ECMAScript Language Specification'', defines the ''ECMAScript Language'', or just '''ECMAScript'''.<ref>{{cite web |last=Guo |first=Shu-yu |date=2022-02-14 |title=ECMAScriptÂŽ 2022 Language Specification |url=https://tc39.es/ecma262/ |url-status=live |archive-url=https://web.archive.org/web/20200508053013/https://tc39.es/ecma262/ |archive-date=2020-05-08 |website=tc39.es |publisher=Tc39.es |accessdate=2022-02-14}}</ref> ECMA-262 specifies only language syntax and the semantics of the core application programming interface ([[API]]), such as {{monospacemono|Array}}, {{monospacemono|Function}}, and {{monospacemono|globalThis}}, while valid implementations of JavaScript add their own functionality such as [[input-/output]] and [[file- system]] handling.
 
== History==
Line 61:
 
===Version history===
{{Main article|ECMAScript version history}}
 
== Features ==
Line 122:
 
== References ==
{{reflistReflist|colwidth=30em}}
 
{{-}}
Line 128:
{{Ecma International Standards}}
{{ISO standards}}
{{List of International Electrotechnical CommissionIEC standards}}
 
[[Category:Computer-related introductions in 1997]]