Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions features/async-iterators.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Async iterators and the for await..of loop
description: Asynchronous iterator objects, such as those returned by promises or generator functions, are iterable with the `for await .. of` loop.
group: iterators
snapshot: ecmascript-2018
spec:
- https://tc39.es/ecma262/multipage/control-abstraction-objects.html#sec-asynciteratorprototype
- https://tc39.es/ecma262/multipage/ecmascript-language-statements-and-declarations.html#sec-for-in-and-for-of-statements
compat_features:
- javascript.builtins.AsyncIterator
- javascript.builtins.AsyncIterator.@@asyncIterator
- javascript.builtins.Symbol.asyncIterator
- javascript.statements.for_await_of
- javascript.statements.for_of.async_iterators
57 changes: 57 additions & 0 deletions features/async-iterators.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Generated from: async-iterators.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: high
baseline_low_date: 2020-01-15
baseline_high_date: 2022-07-15
support:
chrome: "63"
chrome_android: "63"
edge: "79"
firefox: "57"
firefox_android: "57"
safari: "12"
safari_ios: "12"
compat_features:
# baseline: high
# baseline_low_date: 2017-12-06
# baseline_high_date: 2020-06-06
# support:
# chrome: "63"
# chrome_android: "63"
# edge: "12"
# firefox: "57"
# firefox_android: "57"
# safari: "7"
# safari_ios: "7"
- javascript.statements.for_of.async_iterators

# baseline: high
# baseline_low_date: 2020-01-15
# baseline_high_date: 2022-07-15
# support:
# chrome: "63"
# chrome_android: "63"
# edge: "79"
# firefox: "57"
# firefox_android: "57"
# safari: "11.1"
# safari_ios: "11.3"
- javascript.builtins.AsyncIterator
- javascript.builtins.AsyncIterator.@@asyncIterator
- javascript.builtins.Symbol.asyncIterator

# ⬇️ Same status as overall feature ⬇️
# baseline: high
# baseline_low_date: 2020-01-15
# baseline_high_date: 2022-07-15
# support:
# chrome: "63"
# chrome_android: "63"
# edge: "79"
# firefox: "57"
# firefox_android: "57"
# safari: "12"
# safari_ios: "12"
- javascript.statements.for_await_of