Skip to content

no es.string.reverse in babel-preset-env/corejs3/built-in-definitions #10076

@forclan

Description

@forclan

Bug Report

Current Behavior
there is a definition(reverse: ["es.string.reverse"]) in babel-preset-env/corejs3/built-in-definitions

Expected behavior/code
it seems that there is no polyfill named String.prototype.reverse, but there should be a Array.prototype.reverse

referer:

Environment

  • master branch

Possible Solution
change reverse: ["es.string.reverse"], to reverse: ["es.array.reverse"],

Metadata

Metadata

Assignees

No one assigned

    Labels

    i: needs triageoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions