Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript class

class Rectangle {
  constructor(hauteur, largeur) {
    this.hauteur = hauteur;
    this.largeur = largeur;
  }
}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #javascript #class
ADD COMMENT
Topic
Name
4+3 =