Skip to content

Commit 4ea8708

Browse files
committed
class.js passing all tests
1 parent 84aa3f6 commit 4ea8708

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/class.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class Animal {
3333
this.age = options.age;
3434
}
3535
growOlder() {
36-
return this.age;
36+
return this.age + 1;
3737
}
3838
}
3939

0 commit comments

Comments
 (0)