Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 7f1545e

Browse files
authored
Update: Fix typo
do you want 'handle'?
1 parent e0d966f commit 7f1545e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pages/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)