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 2022年9月.
writable は TextDecoderStream インターフェイスの読み取り専用プロパティで、WritableStream を返します。
値
WritableStream です。
例
次の例は、WritableStream を TextDecoderStream オブジェクトから返す方法を示しています。
js
stream = new TextDecoderStream();
console.log(stream.writable); // WritableStream
仕様書
| Specification |
|---|
| Streams> # dom-generictransformstream-writable> |
ブラウザーの互換性
Loading…