A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.cdn.mozilla.net/zh-CN/docs/Web/API/TextDecoderStream/fatal below:

TextDecoderStream.fatal - Web API | MDN

TextDecoderStream.fatal

Baseline Widely available

TextDecoderStream 接口的只读属性 fatal 是一个 boolean,表示 TextDecoderStream 对象的错误模式是否设置为 fatal。

两个可能的错误模式为 fatal 或者 replacement,默认是 replacement,它将一个替换字符 U+FFFD(�)推送到输出。

值

一个 boolean。如果错误模式设置为 fatal,返回 true。否则它返回 false。

示例
stream = new TextDecoderStream();
console.log(stream.fatal); // returns false
规范 浏览器兼容性

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4