Skip to content

Commit e66ade8

Browse files
committed
fix typo. PR752
1 parent fc3b7d2 commit e66ade8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

doc/handbook/Modules.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ export class Calculator {
708708
this.current = 0;
709709
}
710710

711-
public handelChar(char: string) {
711+
public handleChar(char: string) {
712712
if (char === "=") {
713713
this.evaluate();
714714
return;
@@ -738,7 +738,7 @@ export class Calculator {
738738

739739
export function test(c: Calculator, input: string) {
740740
for (let i = 0; i < input.length; i++) {
741-
c.handelChar(input[i]);
741+
c.handleChar(input[i]);
742742
}
743743

744744
console.log(`result of '${input}' is '${c.getResult()}'`);

0 commit comments

Comments
 (0)