The readable
read-only property of the TextEncoderStream
interface returns a ReadableStream
.
Syntax
var readable = TextEncoderStream.readable;
Value
Examples
The following example demonstrates how to return a ReadableStream
from a TextEncoderStream
object.
stream = new TextEncoderStream();
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