Skip to content

Commit e8270be

Browse files
da-inda-in
da-in
authored andcommitted
Example p.51
1 parent e914384 commit e8270be

File tree

1 file changed

+1
-1
lines changed
  • 01장. 다중 통화를 지원하는 Money 객체

1 file changed

+1
-1
lines changed

01장. 다중 통화를 지원하는 Money 객체/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ export class Dollar {
55
}
66

77
times (multiplier: number) {
8-
this.amount = this.amount * multiplier
8+
this.amount *= multiplier
99
}
1010
}

0 commit comments

Comments
 (0)