We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fa187c commit ef92b77Copy full SHA for ef92b77
1 file changed
ES6/Classes/main.js
@@ -9,10 +9,13 @@ class Person{
9
}
10
11
displayWeight(){
12
- console.log(this.weight)
+ console.log(this.weight);
13
14
15
16
17
-let bucky = new Person('Bucky Roberts', 87, 250);
+let bucky = new Person('Bucky', 87, 6650);
18
+let sally = new Person('Sally', 21, 89);
19
+
20
bucky.displayWeight();
21
+sally.displayWeight();
0 commit comments