Encoding API
The TextEncoder() constructor returns a newly created TextEncoder object.
Syntax
new TextEncoder()
Parameters
None.
Specifications
Browser compatibility
See also
- The TextEncoder interface it belongs to.
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
