Closed
Bug 1336962
Opened 7 years ago
Closed 7 years ago
async function not worked, results in syntax error
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: meinolf.amekudzi, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:51.0) Gecko/20100101 Firefox/51.0 Build ID: 20170125094131 Steps to reproduce: foo.prototype.myAsyncTest=async function(){}; Actual results: SyntaxError: missing ; before statement Expected results: In Chrome it's running well, in Firefox a syntax error occured.
Comment 1•7 years ago
|
||
Async functions will be available in Firefox 52, so in about a month from now, see bug 1185106. You can already try them by downloading the current beta version or the Developer Edition: https://www.mozilla.org/en-US/firefox/channel/desktop/#beta
You need to log in
before you can comment on or make changes to this bug.
Description
•