We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 315c9a2 commit e6a5bbdCopy full SHA for e6a5bbd
transpiler/lexer/lexer.js
@@ -264,8 +264,8 @@ module.exports = function(code) {
264
continue;
265
}
266
267
- if (tokens.length >= 2 && tokens[tokens.length - 2]['type'] === 'PUNCTUATION' &&
268
- tokens[tokens.length - 2]['value'] === '(' && lastFunction && lastFunction.insideReturnStatement === true) {
+ if (tokens.length >= 2 && tokens[tokens.length - 2].type === 'PUNCTUATION' &&
+ tokens[tokens.length - 2].value === '(' && lastFunction && lastFunction.insideReturnStatement === true) {
269
tokens[tokens.length - 2].type = 'PARAMS_START';
270
271
0 commit comments