Skip to content

Access to Promise methods in a way different from dot trigger spec-only #534

Closed
@zloirock

Description

@zloirock
Promise['all'];  // error  Avoid using non-standard 'Promise.undefined'  promise/spec-only
var method = 'all';
Promise[method]; // error  Avoid using non-standard 'Promise.method'     promise/spec-only

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