zloirock/core-js

`TextEncoder` and `TextDecoder`

Open

#926 创建于 2021年4月12日

在 GitHub 查看
 (6 评论) (3 反应) (0 负责人)JavaScript (23,771 star) (1,609 fork)batch import
help wantedweb standards

描述

There is already good browser support for these, but Node.js does not have these at all, so testing code that uses them is an issue if you're using jest w/ babel or something like that.

Having a polyfill for these that just 'works out of the box' would be great. There's a very good polyfill at the page below.

https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder

贡献者指南