TextDecoderStream.writable

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

Syntax

var writable = TextDecoderStream.writable;

Value

A WritableStream.

Examples

Returning a WritableStream from a TextDecoderStream.

stream = new TextDecoderStream();
console.log(stream.writeable); //a WritableStream

Specifications

Specification Status Comment
Streams
The definition of 'writable' in that specification.
Living Standard Initial definition.

Browser compatibility

BCD tables only load in the browser