Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Feature Request] core-js need support es 2025 #13156

@aehrfbszer

Description

@aehrfbszer

Background

es2025已经发布了

我想用这个

const arr = ['a', '', 'b', '', 'c', '', 'd', '', 'e'];

// 新的迭代器方法
const result = arr.values()
  .filter(x => x.length > 0)  // 过滤空字符串
  .drop(1)                    // 跳过第一个元素
  .take(3)                    // 只取前3个
  .map(x => `=${x}=`)         // 转换格式
  .toArray();                 // 转成数组

Proposal

升级 core-js

升级 @babel/preset-env

Additional context

Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions