Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript classes

let Person = class {
  constructor(firstName, lastName) {
    this.firstName = firstName;
    this.lastName = lastName;
  }
}
Source by levelup.gitconnected.com #
 
PREVIOUS NEXT
Tagged: #javascript #classes
ADD COMMENT
Topic
Name
2+8 =