File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -1568,6 +1568,8 @@ class Car {
15681568

15691569
save() {
15701570
console.log(this.make, this.model, this.color);
1571+
// NOTE: Returning this for chaining
1572+
return this;
15711573
}
15721574
}
15731575

0 commit comments

Comments
 (0)