MDN self-hosted library · e01.org

TextEncoderStream: encoding property

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

js
const stream = new TextEncoderStream();
console.log(stream.encoding);