Difference between revisions of "Classes"
Jump to navigation
Jump to search
(Created page with "==Classes== <pre> class Person{ constructor(name, yearOfBirth, job){ this.name = name; this.yearOfBirth = yearOfBirth; this.job = job; } } </pre>") |
|||
Line 11: | Line 11: | ||
</pre> | </pre> | ||
==[[#top|Back To Top]]-[[Main_Page| Home]] - [[Java Script|Category]]== |
Revision as of 18:32, 3 December 2016
Classes
class Person{ constructor(name, yearOfBirth, job){ this.name = name; this.yearOfBirth = yearOfBirth; this.job = job; } }