Skip to content

Commit 45bf0bb

Browse files
committed
Minor name change
1 parent c9cbde9 commit 45bf0bb

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

tests/ClassTest.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,22 @@ class Counter {
2121
this.valueInternal--;
2222
}
2323

24-
someOtherFunction1() {
24+
someOtherMathod1() {
2525
console.log(this.valueInternal);
2626
}
27-
someOtherFunction2() {
27+
someOtherMathod2() {
2828
console.log(this.valueInternal);
2929
}
30-
someOtherFunction3() {
30+
someOtherMathod3() {
3131
console.log(this.valueInternal);
3232
}
33-
someOtherFunction4() {
33+
someOtherMathod4() {
3434
console.log(this.valueInternal);
3535
}
36-
someOtherFunction5() {
36+
someOtherMathod5() {
3737
console.log(this.valueInternal);
3838
}
39-
someOtherFunction6() {
39+
someOtherMathod6() {
4040
console.log(this.valueInternal);
4141
}
4242
}

tests/ClosureTest.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,22 @@ const getInstance = props => {
1414
valueInternal.value--;
1515
},
1616

17-
someOtherFunction1() {
17+
someOtherMathod1() {
1818
console.log(valueInternal.value);
1919
},
20-
someOtherFunction2() {
20+
someOtherMathod2() {
2121
console.log(valueInternal.value);
2222
},
23-
someOtherFunction3() {
23+
someOtherMathod3() {
2424
console.log(valueInternal.value);
2525
},
26-
someOtherFunction4() {
26+
someOtherMathod4() {
2727
console.log(valueInternal.value);
2828
},
29-
someOtherFunction5() {
29+
someOtherMathod5() {
3030
console.log(valueInternal.value);
3131
},
32-
someOtherFunction6() {
32+
someOtherMathod6() {
3333
console.log(valueInternal.value);
3434
}
3535
};

0 commit comments

Comments
 (0)