Async function expression execution #1806
Labels
E-Hard
Hard difficulty problem
enhancement
New feature or request
execution
Issues or PRs related to code execution
ECMASCript feature
Boa is already capable of parsing async functions, but it's not able to execute them. The current implementation just returns an "undefined" value if one gets executed:
boa/boa/src/bytecompiler.rs
Lines 879 to 882 in 672eede
You can learn about runtime semantics here: https://tc39.es/ecma262/#sec-runtime-semantics-instantiateasyncfunctionobject
You will need to implement async function objects:
Note that the implementation of
await
is out of the scope of this issue.The text was updated successfully, but these errors were encountered: