TextDecoderStream: writable property

The writable read-only property of the TextDecoderStream interface returns a WritableStream.

Value

Examples

Returning a WritableStream from a TextDecoderStream.

js

stream = new TextDecoderStream();
console.log(stream.writable); // A WritableStream

Specifications

Specification
Streams Standard
# dom-generictransformstream-writable

Browser compatibility

BCD tables only load in the browser