JavaScript Classes: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * JavaScript Concepts") |
|||
Line 1: | Line 1: | ||
=External= | |||
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes | |||
=Internal= | =Internal= | ||
* [[JavaScript_Concepts#Subjects|JavaScript Concepts]] | * [[JavaScript_Concepts#Subjects|JavaScript Concepts]] | ||
=Overview= | |||
A JavaScript class is a syntactical superstructure in top of the language's existing prototype-based inheritance, and it does not introduce a new object-oriented inheritance model in JavaScript. A class is a special [[JavaScript_Functions|function]] | |||
=Declaration= | |||
<syntaxhighlight lang='js'> | |||
</syntaxhighlight> |
Revision as of 22:41, 21 January 2020
External
Internal
Overview
A JavaScript class is a syntactical superstructure in top of the language's existing prototype-based inheritance, and it does not introduce a new object-oriented inheritance model in JavaScript. A class is a special function