Skip to content

AMP Runtime: allow usage of iterator/destructure/spread/rest #35694

@samouri

Description

@samouri

Description

Awhile back we decided to start allowing for iterator to be used (#34249). The logic was that it only adds 0.12kb to any bundle which uses it, and only .js builds as opposed to .mjs builds. We started implementation of this change, but ran into roadblocks (#34282 (review))

To do:

Update these plugins/rules to handle ArrayExpression:

Can be removed:

cc @ampproject/wg-performance

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions