TextDecoderStream.writable
TextDecoderStream
接口的只读属性 writable
返回一个 WritableStream
。
值
一个 WritableStream
。
示例
从一个 TextDecoderStream
返回一个 WritableStream
。
js
stream = new TextDecoderStream();
console.log(stream.writeable); //a WritableStream
规范
Specification |
---|
Streams Standard # dom-generictransformstream-writable |
浏览器兼容性
BCD tables only load in the browser