Skip to content

[ERROR] arrow function produce error #1

Description

@the-liquid-metal

error code:

array.forEach(elm => {
    // ...
});

i have to switch to old syntax:

array.forEach(function(elm) {
    // ...
});

There are many libraries that use arrow functions nowadays and we cannot avoid them.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions