TextDecoderStream.writable
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since September 2022.
TextDecoderStream
接口的只读属性 writable
返回一个 WritableStream
。
值
一个 WritableStream
。
示例
从一个 TextDecoderStream
返回一个 WritableStream
。
js
stream = new TextDecoderStream();
console.log(stream.writeable); //a WritableStream
规范
Specification |
---|
Streams # dom-generictransformstream-writable |