File tree 4 files changed +4
-4
lines changed
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ module.exports = {
154
154
return a * b;
155
155
},
156
156
asyncFunction : async function asyncSquare (a , b ) {
157
- const result = await a * b;
157
+ const result = ( await a) * b;
158
158
return result;
159
159
},
160
160
class: new (class Bar {
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ module.exports = {
150
150
return a * b;
151
151
},
152
152
asyncFunction : async function asyncSquare (a , b ) {
153
- const result = await a * b;
153
+ const result = ( await a) * b;
154
154
return result;
155
155
},
156
156
class: new (class Bar {
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ module.exports = {
154
154
return a * b;
155
155
},
156
156
asyncFunction : async function asyncSquare (a , b ) {
157
- const result = await a * b;
157
+ const result = ( await a) * b;
158
158
return result;
159
159
},
160
160
class: new (class Bar {
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ module.exports = {
154
154
return a * b;
155
155
},
156
156
asyncFunction : async function asyncSquare (a , b ) {
157
- const result = await a * b;
157
+ const result = ( await a) * b;
158
158
return result;
159
159
},
160
160
class: new (class Bar {
You can’t perform that action at this time.
0 commit comments