Skip to content

Commit 32c3112

Browse files
authored
Merge pull request microsoft#752 from devJang/patch-1
Update: Fix typo
2 parents 83d32e2 + 2fab820 commit 32c3112

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)