JavaScript Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
=External=
* https://www.w3schools.com/js/js_versions.asp
=Internal=
=Internal=


Line 5: Line 8:
=Subjects=
=Subjects=


* [[JavaScript Reserved Words]]
* [[JavaScript Built-in Objects, Properties and Methods]]
* [[JavaScript Concepts - The Type System|Type System]]
* [[JavaScript Concepts - The Type System|Type System]]
* [[JavaScript Classes]]
* <span id='Functions'></span>[[JavaScript Functions]]
* [[JavaScript Hoisting|Hoisting]]


=Organizatorium=
=Miscellanea=
 
==Strict Mode==
==Functions==
{{External|https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode}}
 
<syntaxhighlight lang='javascript'>
function name(parameter1, parameter2, parameter3) {
  // code to be executed
}
</syntaxhighlight>


Invocation:
In strict mode the code is subject to stricter syntax for increased performance, some otherwise silent errors will be thrown, and certain keywords are reserved for future versions of ECMAScript. Class [[JavaScript_Classes#Body|bodies]] are executed in strict mode.

Latest revision as of 01:39, 10 December 2020

External

Internal

Subjects

Miscellanea

Strict Mode

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode

In strict mode the code is subject to stricter syntax for increased performance, some otherwise silent errors will be thrown, and certain keywords are reserved for future versions of ECMAScript. Class bodies are executed in strict mode.