for await
syntax missing from ES2018 target
#28499
Labels
Duplicate
An existing issue was already created
TypeScript Version: 3.1.6
Search Terms:
for await
, es2018, targetCode
Expected behavior: For the ES2018 target to not use polyfills for the for await syntax.
As per tc39/proposal-async-iteration#131 (comment) it is in ES2018
Actual behavior: Uses polyfills
Playground Link: Can't. The playground targets a version that is unknown and not configurable in order to show the issue
Related Issues:
The text was updated successfully, but these errors were encountered: