小编bbb*_*oat的帖子

为什么 create-react-app 中的 Babel 不能正确填充 Array.prototype.at ?

我遇到了一个问题并发现它是因为 Babel 没有.at默认填充

根据spec,Array.prototype.at只是第4阶段,我已经将browserslist设置为> 0.2%,其中包括Chrome 86(尚不支持.at)

为什么 Babel 不使用 polyfill .at 呢?

巴别塔游乐场

javascript polyfills babeljs create-react-app core-js

6
推荐指数
1
解决办法
1695
查看次数