TextDecoderStream.ignoreBOM

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

Syntax

var ignoreBOM = TextDecoderStream.ignoreBOM;

Value

A boolean, initially false

Examples

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

Specifications

Specification Status Comment
Encoding
The definition of 'TextDecoderStream.ignoreBOM' in that specification.
Living Standard Initial definition.

Browser compatibility

BCD tables only load in the browser