TextDecoderStream.ignoreBOM
TextDecoderStream
接口的只读属性 ignoreBOM
返回一个 boolean
,表示是否忽略字节顺序标记(BOM)。
值
一个 boolean
,初始值是 false
。
示例
js
stream = new TextDecoderStream();
console.log(stream.ignoreBOM); // returns false
规范
Specification |
---|
Encoding # textdecoder-ignore-bom-flag |
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | server | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ignoreBOM |
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.