TextDecoderStream: ignoreBOM property

The ignoreBOM read-only property of the TextDecoderStream interface returns a boolean indicating if the byte order mark (BOM) is to be ignored.

Value

A boolean, initially false.

Examples

stream = new TextDecoderStream();
console.log(stream.ignoreBOM); // returns false

Specifications

Specification
Encoding Standard
# textdecoder-ignore-bom-flag

Browser compatibility

BCD tables only load in the browser