TextDecoderStream.readable

The readable read-only property of the TextDecoderStream interface returns a ReadableStream.

Syntax

var readable = TextDecoderStream.readable;

Value

Examples

This example shows how to return a ReadableStream from a TextDecoderStream.

stream = new TextDecoderStream();
console.log(stream.readable); //a ReadableStream

Specifications

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

Browser compatibility

BCD tables only load in the browser