We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
catch
Try checking the following
function test() { return Promise.resolve(1).catch(function(e) { return 2; }); }
Result
infernu: user error ("test.js" (line 2, column 34): unexpected reserved word "catch" expecting letter or digit)
The text was updated successfully, but these errors were encountered:
Yes, the problem is the parser lib being used. There's an ES5 branch of infernu that should work (didn't check yet)
On Sun, Mar 13, 2016 at 12:47 AM, Gorgi Kosev notifications@github.com wrote:
Try checking the following function test() { return Promise.resolve(1).catch(function(e) { return 2; }); } Result infernu: user error ("test.js" (line 2, column 34): unexpected reserved word "catch" expecting letter or digit) — Reply to this email directly or view it on GitHub #31.
— Reply to this email directly or view it on GitHub #31.
Sorry, something went wrong.
No branches or pull requests
Try checking the following
Result
The text was updated successfully, but these errors were encountered: