TextEncoderStream.readable
TextEncoderStream
接口的只读属性 readable
返回一个 ReadableStream
。
值
一个 ReadableStream
。
示例
以下示例演示了如何从一个 TextEncoderStream
对象返回一个 ReadableStream
。
js
stream = new TextEncoderStream();
console.log(stream.readable); //a ReadableStream
规范
Specification |
---|
Streams # dom-generictransformstream-readable |
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | server | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
readable |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.