Translation Understanding ECMAScript6 iterators and generators (not finished)

Source: Internet
Author: User

Iterators are used in many programming languages as a way of handling data collections more easily. In ECMAScript6, JavaScript adds iterators as an important feature of this language. When combined with new methods and new collection types (such as collections and mappings), the efficient processing of data by iterators becomes more important.

What is an iterator

To be continue

Generator

To be continue

Generator function expressions

To be continue

Builder Object Methods

To be continue

Generator class methods

To be continue

Iterative objects and for-of

To be continue

Accessing the default iterator

To be continue

Create an Iterative object

To be continue

Built-in iterators

To be continue

Collection iterators

To be continue

String iterator

To be continue

Node List iterator

To be continue

Advanced Features

To be continue

Passing parameters to iterators

To be continue

Throwing an error in an iterator

To be continue

Generator Return statement

To be continue

Delegate Builder

To be continue

Asynchronous task Scheduling

To be continue

Summarize

To be continue

Translation Understanding ECMAScript6 iterators and generators (not finished)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.