Skip to content

Commit

Permalink
remove interactive example (mdn#37066)
Browse files Browse the repository at this point in the history
  • Loading branch information
jolka-ef authored Dec 3, 2024
1 parent 4a5b85e commit d489042
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ browser-compat: javascript.builtins.AsyncIterator.@@asyncIterator

The **`[Symbol.asyncIterator]()`** method of {{jsxref("AsyncIterator")}} instances implements the [async iterable protocol](/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#the_async_iterator_and_async_iterable_protocols) and allows built-in async iterators to be consumed by most syntaxes expecting async iterables, such as [`for await...of`](/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of) loops. It returns the value of [`this`](/en-US/docs/Web/JavaScript/Reference/Operators/this), which is the async iterator object itself.

{{EmbedInteractiveExample("pages/js/map-prototype-@@iterator.html")}}

## Syntax

```js-nolint
Expand Down

0 comments on commit d489042

Please sign in to comment.