Classes

From rbachwiki
Revision as of 18:31, 3 December 2016 by Bacchas (talk | contribs) (Created page with "==Classes== <pre> class Person{ constructor(name, yearOfBirth, job){ this.name = name; this.yearOfBirth = yearOfBirth; this.job = job; } } </pre>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Classes

class Person{
constructor(name, yearOfBirth, job){
this.name = name;
this.yearOfBirth = yearOfBirth;
this.job = job;

}
}