Jump to content

Wikipedia:WikiProject JavaScript/Glossary of JavaScript: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
cleanup, fill in A using definitions from their respective Wikipedia articles. removed "Asynchronous JavaScript" - duplicate of Asynchrony (computer programming).
trim
Line 5: Line 5:
== 0-9 ==
== 0-9 ==


;[[HTTP 404|404]]
;[[HTTP 404|404]]
:same as ''HTTP 404''
:same as ''HTTP 404''


;[[HTTP 404|404 Not Found]]
;[[HTTP 404|404 Not Found]]
:same as ''HTTP 404''
:same as ''HTTP 404''


<!--
<!--
;[[ (JavaScript)| ]]
;[[ (JavaScript)| ]]
:
:


;[[ (JavaScript)| ]]
;[[ (JavaScript)| ]]
:
:


-->
-->
== A ==
== A ==
;[[Abstraction (software engineering)|Abstraction]]
;[[Abstraction (software engineering)|Abstraction]]
:a set of software programming techniques used to arrange the complexity of computer systems. It is also the process of removing specific details or attributes in a class or object to focus attention on more general details.
:a set of software programming techniques used to arrange the complexity of computer systems. It is also the process of removing specific details or attributes in a class or object to focus attention on more general details.


Line 29: Line 29:
:an [[alert dialog box]], generated in [[web browser]]-based JavaScript through the <code>console.alert</code> function.
:an [[alert dialog box]], generated in [[web browser]]-based JavaScript through the <code>console.alert</code> function.


;[[Algorithm]]
;[[Algorithm]]
:set of computer instructions to produce an output or end state from an input or beginning state. What programs are made of.
:set of computer instructions to produce an output or end state from an input or beginning state. What programs are made of.


Line 38: Line 38:
:an interface that allows the abstraction of the underlying implementation of an application.
:an interface that allows the abstraction of the underlying implementation of an application.


;[[Argument]]
;[[Argument]]
:values passed into a function, which can then be accessed by the function through the name of the argument's respective ''parameter''.
:values passed into a function, which can then be accessed by the function through the name of the argument's respective ''parameter''.


;[[Array]]
;[[Array]]
:a collection of multiple elements, each identified by an ''array index'', also known as a ''key''.
:a collection of multiple elements, each identified by an ''array index'', also known as a ''key''.


Line 47: Line 47:
::a programming [[constructor (object-oriented programming)|constructor]] used to create array objects in JavaScript.
::a programming [[constructor (object-oriented programming)|constructor]] used to create array objects in JavaScript.


:;[[Array literal]]
:;Array literal
::an array with values fixed in the source code. Array objects created by array literals may also be modified later on.
::an array with values fixed in the source code. Array objects created by array literals may also be modified later on.


:;[[Multi-dimensional array]]
:;[[Multi-dimensional array]]
::an array where values require at least two indices to be accessed.
::an array where values require at least two indices to be accessed.


;[[Asynchrony (computer programming)|Asynchrony]]
;[[Asynchrony (computer programming)|Asynchrony]]
:the occurrence of events which are independent of the main programming flow.
:the occurrence of events which are independent of the main programming flow.


;[[Asynchronous module definition]] (AMD)
;[[Asynchronous module definition]] (AMD)
:a specification for JavaScript allowing the asynchronous loading of modules even when the modules are dependent on each other.
:a specification for JavaScript allowing the asynchronous loading of modules even when the modules are dependent on each other.


;[[HTML attribute|Attribute]]
;[[HTML attribute|Attribute]]
:HTML attribute, a special word used inside the opening tag to control the tag's behaviour. An attribute is a modifier of an element type.
:HTML attribute, a special word used inside the opening tag to control the tag's behaviour. An attribute is a modifier of an element type.


== B ==
== B ==


;[[JavaScript best practices|Best practice]]
;[[JavaScript best practices|Best practice]]
:
:


;[[Bookmarklet]]
;[[Bookmarklet]]
:technique of saving JavaScript within a bookmark or hyperlink, so that it can be executed by clicking on it. In many cases, the link can be dragged and dropped to the browser toolbar for easier access.
:technique of saving JavaScript within a bookmark or hyperlink, so that it can be executed by clicking on it. In many cases, the link can be dragged and dropped to the browser toolbar for easier access.


;[[Boolean (JavaScript)|Boolean]]
;[[Boolean (JavaScript)|Boolean]]
:
:


;[[Boolean literal (JavaScript)|Boolean literal]]
;[[Boolean literal (JavaScript)|Boolean literal]]
:
:


;[[Boolean logical operator (JavaScript)|Boolean logical operator]]
;[[Boolean logical operator (JavaScript)|Boolean logical operator]]
:
:


== C ==
== C ==


;[[Camel case]]
;[[Camel case]]
:or camelCase
:or camelCase


;[[Cascading Style Sheets]]
;[[Cascading Style Sheets]]
:
:


;[[Chaining (jQuery)|Chaining]]
;[[Chaining (jQuery)|Chaining]]
:
:


;[[Chakra (JavaScript engine)|Chakra]]
;[[Chakra (JavaScript engine)|Chakra]]
:JavaScript engine developed by Microsoft for its Microsoft Edge web browser. It is a fork of the JScript engine used in Internet Explorer.
:JavaScript engine developed by Microsoft for its Microsoft Edge web browser. It is a fork of the JScript engine used in Internet Explorer.


;[[Class (JavaScript)|Class]]
;[[Class (JavaScript)|Class]]
:
:


;[[Client-side]]
;[[Client-side]]
:
:


;[[Client-side JavaScript]]
;[[Client-side JavaScript]]
:
:


;[[Closure (JavaScript)|Closure]]
;[[Closure (JavaScript)|Closure]]
:
:


;[[Code comment (JavaScript)|Code comment]]
;[[Code comment (JavaScript)|Code comment]]
:same as "comment".
:same as "comment".


;[[Comments in JavaScript|Comment]]
;[[Comments in JavaScript|Comment]]
:
:


;[[CommonJS]]
;[[CommonJS]]
:project to create specifications for JavaScript beyond client-side scripting, to expand it into a more full-fledged language. For example, for writing server-side scripts and native desktop applications.
:project to create specifications for JavaScript beyond client-side scripting, to expand it into a more full-fledged language. For example, for writing server-side scripts and native desktop applications.


;[[Console (JavaScript)|Console]]
;[[Console (JavaScript)|Console]]
:
:


;[[console.log (JavaScript)|console.log]]
;[[console.log (JavaScript)|console.log]]
:
:


;[[console.time (JavaScript)|console.time]]
;[[console.time (JavaScript)|console.time]]
:
:


;[[Concatenation (JavaScript)|Concatenation]]
;[[Concatenation (JavaScript)|Concatenation]]
:
:


;[[CouchDB]]
;[[CouchDB]]
:server database that uses JavaScript as its query language.
:server database that uses JavaScript as its query language.


;[[Cascading Style Sheets|CSS]]
;[[Cascading Style Sheets|CSS]]
:Cascading Style Sheets.
:Cascading Style Sheets.


;[[Comparison operator (JavaScript)|Comparison operator]]
;[[Comparison operator (JavaScript)|Comparison operator]]
:
:


== D ==
== D ==


;[[Data types in JavaScript|Data type]]
;[[Data types in JavaScript|Data type]]
:
:


;[[Declarative programming in JavaScript|Declarative programming]]
;[[Declarative programming in JavaScript|Declarative programming]]
:
:


;[[Document Object Model]]
;[[Document Object Model]]
:the hierarchy (tree) produced by the browser of all the elements of a webpage. By processing the DOM via "methods" (functions stored as object properties, that is, the actions that can be performed on objects), JavaScript can dynamically change the page's HTML.<ref>{{cite web|url=https://www.w3schools.com/js/js_htmldom.asp|title=JavaScript HTML DOM|website=www.w3schools.com}}</ref>
:the hierarchy (tree) produced by the browser of all the elements of a webpage. By processing the DOM via "methods" (functions stored as object properties, that is, the actions that can be performed on objects), JavaScript can dynamically change the page's HTML.<ref>{{cite web|url=https://www.w3schools.com/js/js_htmldom.asp|title=JavaScript HTML DOM|website=www.w3schools.com}}</ref>


;[[Document Object Model|DOM]]
;[[Document Object Model|DOM]]
:Document Object Model
:Document Object Model


;[[Do while loop (JavaScript)|Do while loop]]
;[[Do while loop (JavaScript)|Do while loop]]
:
:


;[[Dynamic HTML]]
;[[Dynamic HTML]]
:predecessor of Unobtrusive JavaScript.
:predecessor of Unobtrusive JavaScript.


Line 158: Line 158:
== E ==
== E ==


;[[ECMAScript]]
;[[ECMAScript]]
:the specification language upon which JavaScript is based. The terms "EMCAScript" and "JavaScript" are used interchangeably within the field. 'ES' has also been used as a prefix for shorthand names of versions of JavaScript:
:the specification language upon which JavaScript is based. The terms "EMCAScript" and "JavaScript" are used interchangeably within the field. 'ES' has also been used as a prefix for shorthand names of versions of JavaScript:


:;'ES5'
:;'ES5'
::ECMAScript Fifth Edition, adopted in 2009.
::ECMAScript Fifth Edition, adopted in 2009.


:;'ES6' / 'ES2015'
:;'ES6' / 'ES2015'
::ECMAScript Sixth Edition, adopted in 2015.
::ECMAScript Sixth Edition, adopted in 2015.


:;'ES7' / 'ES2016'
:;'ES7' / 'ES2016'
::ECMAScript Seventh Edition, adopted in 2016.
::ECMAScript Seventh Edition, adopted in 2016.


:;'ES2017'
:;'ES2017'
::ECMAScript Eighth Edition, adopted in 2017.
::ECMAScript Eighth Edition, adopted in 2017.


;[[JavaScript ecosystem|Ecosystem]]
;[[JavaScript ecosystem|Ecosystem]]
:
:


;[[HTML element|Element]]
;[[HTML element|Element]]
:HTML element, an individual component of an HTML document or web page, once this has been parsed into the Document Object Model.
:HTML element, an individual component of an HTML document or web page, once this has been parsed into the Document Object Model.


;[[Else (JavaScript)|Else]]
;[[Else (JavaScript)|Else]]
:
:


;[[Else if (JavaScript)|Else if]]
;[[Else if (JavaScript)|Else if]]
:
:


;[[JavaScript engine|Engine]] &nbsp;([[List of ECMAScript engines|list]])
;[[JavaScript engine|Engine]] &nbsp;([[List of ECMAScript engines|list]])
:"JavaScript engine", a program or library which executes [[JavaScript]] code. A JavaScript engine may be a traditional [[interpreter (computing)|interpreter]], or it may utilize [[just-in-time compilation]] to [[bytecode]] in some manner.<ref name="auto">{{cite web |url=http://developer.telerik.com/featured/a-guide-to-javascript-engines-for-idiots/ |title=A Guide to JavaScript Engines for Idiots |last=Looper |first=Jen |publisher=[[Telerik]] Developer Network |date=2015-09-21 |accessdate=2016-03-17 }}</ref> A JavaScript engine is most commonly included in [[web browser]]s, but is also a key component of [[#JavaScript runtime environments|JavaScript runtime environments]] and other software (such as database management systems).
:"JavaScript engine", a program or library which executes [[JavaScript]] code. A JavaScript engine may be a traditional [[interpreter (computing)|interpreter]], or it may utilize [[just-in-time compilation]] to [[bytecode]] in some manner.<ref name="auto">{{cite web |url=http://developer.telerik.com/featured/a-guide-to-javascript-engines-for-idiots/ |title=A Guide to JavaScript Engines for Idiots |last=Looper |first=Jen |publisher=[[Telerik]] Developer Network |date=2015-09-21 |accessdate=2016-03-17 }}</ref> A JavaScript engine is most commonly included in [[web browser]]s, but is also a key component of [[#JavaScript runtime environments|JavaScript runtime environments]] and other software (such as database management systems).


;[[Etymology of JavaScript]]
;[[Etymology of JavaScript]]
:
:


;[[Event (computing)|Event]]
;[[Event (computing)|Event]]
:action or occurrence recognized by software, often originating asynchronously from the external environment, that may be handled by the software. Computer events can be generated or triggered by the system, by the user (via keystrokes or a mouse clicks), or in other ways.
:action or occurrence recognized by software, often originating asynchronously from the external environment, that may be handled by the software. Computer events can be generated or triggered by the system, by the user (via keystrokes or a mouse clicks), or in other ways.


;[[Event-driven programming in JavaScript|Event-driven programming]]
;[[Event-driven programming in JavaScript|Event-driven programming]]
:software that changes its behavior in response to events is said to be event-driven, often with the goal of being interactive.
:software that changes its behavior in response to events is said to be event-driven, often with the goal of being interactive.


;[[Expression (JavaScript)|Expression]]
;[[Expression (JavaScript)|Expression]]
:
:


== F ==
== F ==


;[[First-class function]]
;[[First-class function]]
:the functions of a language are first-class functions if they are first-class objects. The functions in JavaScript are first-class objects, and therefore, first-class functions.
:the functions of a language are first-class functions if they are first-class objects. The functions in JavaScript are first-class objects, and therefore, first-class functions.


;[[First-class object]]
;[[First-class object]]
:entity which supports all the operations generally available to other entities (such as data types). These operations typically include being passed as an argument, returned from a function, modified, and assigned to a variable. In JavaScript, functions are first-class objects.
:entity which supports all the operations generally available to other entities (such as data types). These operations typically include being passed as an argument, returned from a function, modified, and assigned to a variable. In JavaScript, functions are first-class objects.


;[[For loop (JavaScript)|For loop]]
;[[For loop (JavaScript)|For loop]]
:
:


;[[Full JavaScript stack]]
;[[Full JavaScript stack]]
:
:


;[[Function (JavaScript)|Function]]
;[[Function (JavaScript)|Function]]
:
:


:;[[Generator function (JavaScript)|Generator function]]
:;[[Generator function (JavaScript)|Generator function]]
::
::


;[[Function call (JavaScript)|Function call]]
;[[Function call (JavaScript)|Function call]]
:
:


;[[Function hoisting (JavaScript)|Function hoisting]]
;[[Function hoisting (JavaScript)|Function hoisting]]
:
:


;[[Functional programming in JavaScript|Functional programming]]
;[[Functional programming in JavaScript|Functional programming]]
:
:


;[[Falsey (JavaScript)|Falsey]]
;[[Falsey (JavaScript)|Falsey]]
:of an expression, evaluating to false rather than true, for example null, 0, and the empty string ""
:of an expression, evaluating to false rather than true, for example null, 0, and the empty string ""


Line 235: Line 235:
== G ==
== G ==


;[[Generator (JavaScript)|Generator]]
;[[Generator (JavaScript)|Generator]]
:
:


;[[Generator function (JavaScript)|Generator function]]
;[[Generator function (JavaScript)|Generator function]]
:
:


;[[Greasemonkey]]
;[[Greasemonkey]]
:
:


== H ==
== H ==


;[[Hoisting (JavaScript)|Hoisting]]
;[[Hoisting (JavaScript)|Hoisting]]
:
:


;[[HTML]]
;[[HTML]]
:
:


;[[HTML attribute]]
;[[HTML attribute]]
:special word used inside the opening tag to control the tag's behaviour. An attribute is a modifier of an element type.
:special word used inside the opening tag to control the tag's behaviour. An attribute is a modifier of an element type.


;[[HTML element]]
;[[HTML element]]
:individual component of an HTML document or web page, once this has been parsed into the Document Object Model.
:individual component of an HTML document or web page, once this has been parsed into the Document Object Model.


;[[HTML scripting]]
;[[HTML scripting]]
:how locally executable scripts (such as those written in JavaScript) may be used in a web page.
:how locally executable scripts (such as those written in JavaScript) may be used in a web page.


;[[HTML tag]]
;[[HTML tag]]
:
:


;[[HTTP 404]]
;[[HTTP 404]]
:
:


== I ==
== I ==


;[[If (JavaScript)|If]]
;[[If (JavaScript)|If]]
:
:


;[[If statement (JavaScript)|If statement]]
;[[If statement (JavaScript)|If statement]]
:
:


;[[Imperative programming in JavaScript|Imperative programming]]
;[[Imperative programming in JavaScript|Imperative programming]]
:
:


== J ==
== J ==


;[[Java (programming language)|Java]]
;[[Java (programming language)|Java]]
:unrelated programming language that JavaScript is often confused with due to its name. Despite some superficial similarities, they are two distinct languages.
:unrelated programming language that JavaScript is often confused with due to its name. Despite some superficial similarities, they are two distinct languages.


;[[JavaScript best practices]]
;[[JavaScript best practices]]
:
:


;[[JavaScript ecosystem]]
;[[JavaScript ecosystem]]
:
:


;[[JavaScript engine]] &nbsp;([[List of ECMAScript engines|list]])
;[[JavaScript engine]] &nbsp;([[List of ECMAScript engines|list]])
:program or library which executes [[JavaScript]] code. A JavaScript engine may be a traditional [[interpreter (computing)|interpreter]], or it may utilize [[just-in-time compilation]] to [[bytecode]] in some manner.<ref name="auto"/> A JavaScript engine is most commonly included in [[web browser]]s, but is also a key component of [[#JavaScript runtime environments|JavaScript runtime environments]] and other software (such as database management systems).
:program or library which executes [[JavaScript]] code. A JavaScript engine may be a traditional [[interpreter (computing)|interpreter]], or it may utilize [[just-in-time compilation]] to [[bytecode]] in some manner.<ref name="auto"/> A JavaScript engine is most commonly included in [[web browser]]s, but is also a key component of [[#JavaScript runtime environments|JavaScript runtime environments]] and other software (such as database management systems).


** [[Comparison of layout engines (ECMAScript)|Comparison of JavaScript engines]]
** [[Comparison of layout engines (ECMAScript)|Comparison of JavaScript engines]]
;[[JavaScript Object Notation]]
;[[JavaScript Object Notation]]
:more commonly known as JSON ''(see below)''.
:more commonly known as JSON ''(see below)''.


;[[JavaScript stack]]
;[[JavaScript stack]]
:
:


;[[JavaScript templating]]
;[[JavaScript templating]]
:
:


;[[JavaScript trademark]]
;[[JavaScript trademark]]
:
:


;[[jQuery]]
;[[jQuery]]
:
:


;[[JS Foundation]]
;[[JS Foundation]]
:
:


;[[JScript]]
;[[JScript]]
:essentially, "JavaScript for Internet Explorer". MicroSoft reverse engineered JavaScript and then named the implementation JScript to avoid infringing upon Sun's ownership of the JavaScript trademark. Since then, Microsoft has switched over to using the name JavaScript to refer to the implementation of JScript used in its Edge browser.
:essentially, "JavaScript for Internet Explorer". MicroSoft reverse engineered JavaScript and then named the implementation JScript to avoid infringing upon Sun's ownership of the JavaScript trademark. Since then, Microsoft has switched over to using the name JavaScript to refer to the implementation of JScript used in its Edge browser.


;[[JSGI]]
;[[JSGI]]
:
:


;[[JSON]]
;[[JSON]]
:stands for JavaScript Object Notation, an open-standard file format that uses human-readable text to transmit data objects consisting of attribute–value pairs and array data types (or any other serializable value). It is a very common data format used for asynchronous browser–server communication, including as a replacement for XML in some AJAX-style systems.
:stands for JavaScript Object Notation, an open-standard file format that uses human-readable text to transmit data objects consisting of attribute–value pairs and array data types (or any other serializable value). It is a very common data format used for asynchronous browser–server communication, including as a replacement for XML in some AJAX-style systems.


;[[JSONP]]
;[[JSONP]]
:
:


Line 329: Line 329:
== L ==
== L ==


;[[Loop (JavaScript)|Loop]]
;[[Loop (JavaScript)|Loop]]
:
:


:;[[For loop (JavaScript)|For loop]]
:;[[For loop (JavaScript)|For loop]]
::
::


:;[[While loop (JavaScript)|While loop]]
:;[[While loop (JavaScript)|While loop]]
::
::


*** [[Do while loop (JavaScript)|Do while loop]] &ndash;
*** [[Do while loop (JavaScript)|Do while loop]] &ndash;
== M ==
== M ==


;[[Map]]
;[[Map]]
:
:


;[[Method (JavaScript)|Method]]
;[[Method (JavaScript)|Method]]
:
:


;[[Module (JavaScript)|Module]]
;[[Module (JavaScript)|Module]]
:
:


;[[Multi-line comment (JavaScript)|Multi-line comment]]
;[[Multi-line comment (JavaScript)|Multi-line comment]]
:
:


== N ==
== N ==


;[[Nashorn (JavaScript engine)|Nashorn]]
;[[Nashorn (JavaScript engine)|Nashorn]]
:JavaScript engine developed in the [[Java (programming language)|Java]] programming language by [[Oracle Corporation|Oracle]]. It is based on the [[Da Vinci Machine]] (JSR 292) and was released with Java 8. Its purposes are to enable embedding JavaScript in Java applications, and to develop standalone JavaScript applications.
:JavaScript engine developed in the [[Java (programming language)|Java]] programming language by [[Oracle Corporation|Oracle]]. It is based on the [[Da Vinci Machine]] (JSR 292) and was released with Java 8. Its purposes are to enable embedding JavaScript in Java applications, and to develop standalone JavaScript applications.


;[[Node.js]]
;[[Node.js]]
:open-source, cross-platform JavaScript runtime environment for executing JavaScript code server-side, to produce dynamic web page content ''before'' the page is sent to the user's web browser. Node.js is built upon the Chrome V8 JavaScript engine.
:open-source, cross-platform JavaScript runtime environment for executing JavaScript code server-side, to produce dynamic web page content ''before'' the page is sent to the user's web browser. Node.js is built upon the Chrome V8 JavaScript engine.


;[[NWJS]]
;[[NWJS]]
:
:


== O ==
== O ==


;[[Object (JavaScript)|Object]]
;[[Object (JavaScript)|Object]]
:
:


;[[Object orientation]]
;[[Object orientation]]
:
:


;[[Object-oriented programming in JavaScript]]
;[[Object-oriented programming in JavaScript]]
:
:


;[[Object-oriented programming in JavaScript|Object-oriented programming]]
;[[Object-oriented programming in JavaScript|Object-oriented programming]]
:
:


;[[Operator (JavaScript)|Operator]]
;[[Operator (JavaScript)|Operator]]
:
:


== P ==
== P ==


;[[Promise (JavaScript)|Promise]]
;[[Promise (JavaScript)|Promise]]
:
:


;[[Prototype (JavaScript)]]
;[[Prototype (JavaScript)]]
:
:


;[[Prototype-based programming in JavaScript|Prototype-based programming]]
;[[Prototype-based programming in JavaScript|Prototype-based programming]]
:
:


Line 400: Line 400:
-->
-->


;[[Regex in JavaScript|Regex]]
;[[Regex in JavaScript|Regex]]
:[[regular expression]]s
:[[regular expression]]s


;[[Remote scripting]]
;[[Remote scripting]]
:
:


;[[Reserved words in JavaScript]]
;[[Reserved words in JavaScript]]
:
:


;[[Rhino (JavaScript engine)|Rhino]]
;[[Rhino (JavaScript engine)|Rhino]]
:JavaScript engine written fully in Java and managed by the Mozilla Foundation as open source software. It is intended to be used in server-side applications, hence there is no built-in support for the Web browser objects that are commonly associated with JavaScript.
:JavaScript engine written fully in Java and managed by the Mozilla Foundation as open source software. It is intended to be used in server-side applications, hence there is no built-in support for the Web browser objects that are commonly associated with JavaScript.


;[[Runtime environment]]
;[[Runtime environment]]
:
:


== S ==
== S ==


;[[Scope (JavaScript)|Scope]]
;[[Scope (JavaScript)|Scope]]
:
:


;[[Seed (programming)|Seed]]
;[[Seed (programming)|Seed]]
:interpreter and a library of the GNOME project to create standalone applications in JavaScript. It uses the JavaScript engine JavaScriptCore of the WebKit project.
:interpreter and a library of the GNOME project to create standalone applications in JavaScript. It uses the JavaScript engine JavaScriptCore of the WebKit project.


;[[Separation of concerns]]
;[[Separation of concerns]]
:
:


;[[Server-side]]
;[[Server-side]]
:
:


;[[Server-side JavaScript]]
;[[Server-side JavaScript]]
:
:


** [[Comparison of server-side JavaScript solutions]]
** [[Comparison of server-side JavaScript solutions]]
;[[Server-side scripting]]
;[[Server-side scripting]]
:
:


;[[Single-line comment (JavaScript)|Single-line comment]]
;[[Single-line comment (JavaScript)|Single-line comment]]
:
:


* [[SpiderMonkey]] – the JavaScript engine in [[Firefox]]
* [[SpiderMonkey]] – the JavaScript engine in [[Firefox]]
;[[WebKit#JavaScriptCore|SquirrelFish]]
;[[WebKit#JavaScriptCore|SquirrelFish]]
:bytecode interpreter rewritten from [[#JavaScriptCore|JavaScriptCore]].
:bytecode interpreter rewritten from [[#JavaScriptCore|JavaScriptCore]].


;[[Statement (JavaScript)|Statement]]
;[[Statement (JavaScript)|Statement]]
:
:


;[[String (JavaScript)|String]]
;[[String (JavaScript)|String]]
:
:


;[[Structured programming in JavaScript|Structured programming]]
;[[Structured programming in JavaScript|Structured programming]]
:
:


;[[Function (JavaScript)|Subroutine]]
;[[Function (JavaScript)|Subroutine]]
:another name for "function".
:another name for "function".


;[[Switch statement (JavaScript)|Switch statement]]
;[[Switch statement (JavaScript)|Switch statement]]
:
:


== T ==
== T ==


;[[HTML tag|Tag]]
;[[HTML tag|Tag]]
:
:


;[[Tamarin (software)|Tamarin]]
;[[Tamarin (software)|Tamarin]]
:JavaScript engine still supported as part of Flash Player.
:JavaScript engine still supported as part of Flash Player.


;[[Tampermonkey]]
;[[Tampermonkey]]
:
:


;[[Ternary operator (JavaScript)|Ternary operator]]
;[[Ternary operator (JavaScript)|Ternary operator]]
:
:


;[[JavaScript transpiler|Transpiler]]
;[[JavaScript transpiler|Transpiler]]
:
:


;[[Truthy (JavaScript)|Truthy]]
;[[Truthy (JavaScript)|Truthy]]
:Evaluating to a Boolean value of true, e.g. a non-zero number or a non-empty string. See [[JavaScript syntax#Boolean]]
:Evaluating to a Boolean value of true, e.g. a non-zero number or a non-empty string. See [[JavaScript syntax#Boolean]]


Line 481: Line 481:
== U ==
== U ==


;[[User interface|UI]]
;[[User interface|UI]]
:User interface
:User interface


;[[Unobtrusive JavaScript]]
;[[Unobtrusive JavaScript]]
:
:


;[[User interface]]
;[[User interface]]
:
:


;[[Userscript]]
;[[Userscript]]
:JavaScript program written to modify web pages to augment browsing. They are installed in browsers by use of a userscript manager browser extension like Tampermonkey or Greasemonkey. A userscript feature is also available for registered users of Wikipedia, and can augment editing and viewing of that encyclopedia's pages.
:JavaScript program written to modify web pages to augment browsing. They are installed in browsers by use of a userscript manager browser extension like Tampermonkey or Greasemonkey. A userscript feature is also available for registered users of Wikipedia, and can augment editing and viewing of that encyclopedia's pages.


;[[Userscript manager]]
;[[Userscript manager]]
:
:


== V ==
== V ==


;[[V8 (JavaScript engine)|V8]]
;[[V8 (JavaScript engine)|V8]]
:JavaScript engine used in [[Google Chrome]], [[Couchbase Server]], [[MongoDB]], and [[Node.js]]
:JavaScript engine used in [[Google Chrome]], [[Couchbase Server]], [[MongoDB]], and [[Node.js]]


;[[Vanilla JavaScript]]
;[[Vanilla JavaScript]]
:jargon for "plain JavaScript", that is, JavaScript not extended by any frameworks or additional libraries. It even has its own prank promotion page, presenting it as the best JavaScript framework.
:jargon for "plain JavaScript", that is, JavaScript not extended by any frameworks or additional libraries. It even has its own prank promotion page, presenting it as the best JavaScript framework.


;[[Vanilla JS]]
;[[Vanilla JS]]
:same as "Vanilla JavaScript"
:same as "Vanilla JavaScript"


;[[Variable (JavaScript)|Variable]]
;[[Variable (JavaScript)|Variable]]
:
:


;[[Variable assignment (JavaScript)|Variable assignment]]
;[[Variable assignment (JavaScript)|Variable assignment]]
:
:


== W ==
== W ==


;[[World Wide Web|Web]]
;[[World Wide Web|Web]]
:also "The web", referring to the World Wide Web, the global information space where documents and other web resources are identified by Uniform Resource Locators (URLs), interlinked by hypertext links, and accessed via the Internet.
:also "The web", referring to the World Wide Web, the global information space where documents and other web resources are identified by Uniform Resource Locators (URLs), interlinked by hypertext links, and accessed via the Internet.


;[[Web accessibility]]
;[[Web accessibility]]
:
:


;[[Web Accessibility Initiative]]
;[[Web Accessibility Initiative]]
:
:


;[[Web application]]
;[[Web application]]
:
:


;[[Web page]]
;[[Web page]]
:
:


;[[Website]]
;[[Website]]
:
:


;[[While loop (JavaScript)|While loop]]
;[[While loop (JavaScript)|While loop]]
:
:


:;[[Do while loop (JavaScript)|Do while loop]]
:;[[Do while loop (JavaScript)|Do while loop]]
::
::


;[[World Wide Web]]
;[[World Wide Web]]
:global information space where documents and other web resources are identified by Uniform Resource Locators (URLs), interlinked by hypertext links, and accessed via the Internet.
:global information space where documents and other web resources are identified by Uniform Resource Locators (URLs), interlinked by hypertext links, and accessed via the Internet.


;[[World Wide Web|WWW]]
;[[World Wide Web|WWW]]
:World Wide Web
:World Wide Web



Revision as of 10:44, 17 January 2021

This is an alphabetized glossary of terms pertaining to the programming language JavaScript, along with their meanings in the context of that language. JavaScript is the programming language of the Web. It is one of the 3 core web development technologies (the other two being HTML and CSS), and it is used on most web pages. Note that JavaScript is not related to Java; they are two distinctly different programming languages. Communication about JavaScript is highly jargonized. The following entries should help in understanding reading material about JavaScript, and serve as search terms for exploring the subject further.

0-9

404
same as HTTP 404
404 Not Found
same as HTTP 404

A

Abstraction
a set of software programming techniques used to arrange the complexity of computer systems. It is also the process of removing specific details or attributes in a class or object to focus attention on more general details.
Ajax (asynchronous JavaScript and XML)
a set of web development techniques using many web technologies on the client-side to create asynchronous Web applications. With Ajax, web applications can send data to and retrieve from a server asynchronously (in the background) without interfering with the display and behavior of the existing page. By decoupling the data interchange layer from the presentation layer, Ajax allows for web pages, and by extension web applications, to change content dynamically without the need to reload the entire page.
Alert
an alert dialog box, generated in web browser-based JavaScript through the console.alert function.
Algorithm
set of computer instructions to produce an output or end state from an input or beginning state. What programs are made of.
Application development
the development of applications, specifically web applications in the context of JavaScript.
Application programming interface (API)
an interface that allows the abstraction of the underlying implementation of an application.
Argument
values passed into a function, which can then be accessed by the function through the name of the argument's respective parameter.
Array
a collection of multiple elements, each identified by an array index, also known as a key.
Array constructor
a programming constructor used to create array objects in JavaScript.
Array literal
an array with values fixed in the source code. Array objects created by array literals may also be modified later on.
Multi-dimensional array
an array where values require at least two indices to be accessed.
Asynchrony
the occurrence of events which are independent of the main programming flow.
Asynchronous module definition (AMD)
a specification for JavaScript allowing the asynchronous loading of modules even when the modules are dependent on each other.
Attribute
HTML attribute, a special word used inside the opening tag to control the tag's behaviour. An attribute is a modifier of an element type.

B

Best practice
Bookmarklet
technique of saving JavaScript within a bookmark or hyperlink, so that it can be executed by clicking on it. In many cases, the link can be dragged and dropped to the browser toolbar for easier access.
Boolean
Boolean literal
Boolean logical operator

C

Camel case
or camelCase
Cascading Style Sheets
Chaining
Chakra
JavaScript engine developed by Microsoft for its Microsoft Edge web browser. It is a fork of the JScript engine used in Internet Explorer.
Class
Client-side
Client-side JavaScript
Closure
Code comment
same as "comment".
Comment
CommonJS
project to create specifications for JavaScript beyond client-side scripting, to expand it into a more full-fledged language. For example, for writing server-side scripts and native desktop applications.
Console
console.log
console.time
Concatenation
CouchDB
server database that uses JavaScript as its query language.
CSS
Cascading Style Sheets.
Comparison operator

D

Data type
Declarative programming
Document Object Model
the hierarchy (tree) produced by the browser of all the elements of a webpage. By processing the DOM via "methods" (functions stored as object properties, that is, the actions that can be performed on objects), JavaScript can dynamically change the page's HTML.[1]
DOM
Document Object Model
Do while loop
Dynamic HTML
predecessor of Unobtrusive JavaScript.


E

ECMAScript
the specification language upon which JavaScript is based. The terms "EMCAScript" and "JavaScript" are used interchangeably within the field. 'ES' has also been used as a prefix for shorthand names of versions of JavaScript:
'ES5'
ECMAScript Fifth Edition, adopted in 2009.
'ES6' / 'ES2015'
ECMAScript Sixth Edition, adopted in 2015.
'ES7' / 'ES2016'
ECMAScript Seventh Edition, adopted in 2016.
'ES2017'
ECMAScript Eighth Edition, adopted in 2017.
Ecosystem
Element
HTML element, an individual component of an HTML document or web page, once this has been parsed into the Document Object Model.
Else
Else if
Engine  (list)
"JavaScript engine", a program or library which executes JavaScript code. A JavaScript engine may be a traditional interpreter, or it may utilize just-in-time compilation to bytecode in some manner.[2] A JavaScript engine is most commonly included in web browsers, but is also a key component of JavaScript runtime environments and other software (such as database management systems).
Etymology of JavaScript
Event
action or occurrence recognized by software, often originating asynchronously from the external environment, that may be handled by the software. Computer events can be generated or triggered by the system, by the user (via keystrokes or a mouse clicks), or in other ways.
Event-driven programming
software that changes its behavior in response to events is said to be event-driven, often with the goal of being interactive.
Expression

F

First-class function
the functions of a language are first-class functions if they are first-class objects. The functions in JavaScript are first-class objects, and therefore, first-class functions.
First-class object
entity which supports all the operations generally available to other entities (such as data types). These operations typically include being passed as an argument, returned from a function, modified, and assigned to a variable. In JavaScript, functions are first-class objects.
For loop
Full JavaScript stack
Function
Generator function
Function call
Function hoisting
Functional programming
Falsey
of an expression, evaluating to false rather than true, for example null, 0, and the empty string ""


G

Generator
Generator function
Greasemonkey

H

Hoisting
HTML
HTML attribute
special word used inside the opening tag to control the tag's behaviour. An attribute is a modifier of an element type.
HTML element
individual component of an HTML document or web page, once this has been parsed into the Document Object Model.
HTML scripting
how locally executable scripts (such as those written in JavaScript) may be used in a web page.
HTML tag
HTTP 404

I

If
If statement
Imperative programming

J

Java
unrelated programming language that JavaScript is often confused with due to its name. Despite some superficial similarities, they are two distinct languages.
JavaScript best practices
JavaScript ecosystem
JavaScript engine  (list)
program or library which executes JavaScript code. A JavaScript engine may be a traditional interpreter, or it may utilize just-in-time compilation to bytecode in some manner.[2] A JavaScript engine is most commonly included in web browsers, but is also a key component of JavaScript runtime environments and other software (such as database management systems).
JavaScript Object Notation
more commonly known as JSON (see below).
JavaScript stack
JavaScript templating
JavaScript trademark
jQuery
JS Foundation
JScript
essentially, "JavaScript for Internet Explorer". MicroSoft reverse engineered JavaScript and then named the implementation JScript to avoid infringing upon Sun's ownership of the JavaScript trademark. Since then, Microsoft has switched over to using the name JavaScript to refer to the implementation of JScript used in its Edge browser.
JSGI
JSON
stands for JavaScript Object Notation, an open-standard file format that uses human-readable text to transmit data objects consisting of attribute–value pairs and array data types (or any other serializable value). It is a very common data format used for asynchronous browser–server communication, including as a replacement for XML in some AJAX-style systems.
JSONP


L

Loop
For loop
While loop

M

Map
Method
Module
Multi-line comment

N

Nashorn
JavaScript engine developed in the Java programming language by Oracle. It is based on the Da Vinci Machine (JSR 292) and was released with Java 8. Its purposes are to enable embedding JavaScript in Java applications, and to develop standalone JavaScript applications.
Node.js
open-source, cross-platform JavaScript runtime environment for executing JavaScript code server-side, to produce dynamic web page content before the page is sent to the user's web browser. Node.js is built upon the Chrome V8 JavaScript engine.
NWJS

O

Object
Object orientation
Object-oriented programming in JavaScript
Object-oriented programming
Operator

P

Promise
Prototype (JavaScript)
Prototype-based programming


Regex
regular expressions
Remote scripting
Reserved words in JavaScript
Rhino
JavaScript engine written fully in Java and managed by the Mozilla Foundation as open source software. It is intended to be used in server-side applications, hence there is no built-in support for the Web browser objects that are commonly associated with JavaScript.
Runtime environment

S

Scope
Seed
interpreter and a library of the GNOME project to create standalone applications in JavaScript. It uses the JavaScript engine JavaScriptCore of the WebKit project.
Separation of concerns
Server-side
Server-side JavaScript
Server-side scripting
Single-line comment
SquirrelFish
bytecode interpreter rewritten from JavaScriptCore.
Statement
String
Structured programming
Subroutine
another name for "function".
Switch statement

T

Tag
Tamarin
JavaScript engine still supported as part of Flash Player.
Tampermonkey
Ternary operator
Transpiler
Truthy
Evaluating to a Boolean value of true, e.g. a non-zero number or a non-empty string. See JavaScript syntax#Boolean


U

UI
User interface
Unobtrusive JavaScript
User interface
Userscript
JavaScript program written to modify web pages to augment browsing. They are installed in browsers by use of a userscript manager browser extension like Tampermonkey or Greasemonkey. A userscript feature is also available for registered users of Wikipedia, and can augment editing and viewing of that encyclopedia's pages.
Userscript manager

V

V8
JavaScript engine used in Google Chrome, Couchbase Server, MongoDB, and Node.js
Vanilla JavaScript
jargon for "plain JavaScript", that is, JavaScript not extended by any frameworks or additional libraries. It even has its own prank promotion page, presenting it as the best JavaScript framework.
Vanilla JS
same as "Vanilla JavaScript"
Variable
Variable assignment

W

Web
also "The web", referring to the World Wide Web, the global information space where documents and other web resources are identified by Uniform Resource Locators (URLs), interlinked by hypertext links, and accessed via the Internet.
Web accessibility
Web Accessibility Initiative
Web application
Web page
Website
While loop
Do while loop
World Wide Web
global information space where documents and other web resources are identified by Uniform Resource Locators (URLs), interlinked by hypertext links, and accessed via the Internet.
WWW
World Wide Web


See also


  1. ^ "JavaScript HTML DOM". www.w3schools.com.
  2. ^ a b Looper, Jen (2015-09-21). "A Guide to JavaScript Engines for Idiots". Telerik Developer Network. Retrieved 2016-03-17.