# Source: https://github.com/quick-lint/quick-lint-js/blob/master/docs/errors/E0046.md

# E0046: unexpected characters in binary literal

Binary number literals start with `0b` and can only contain `0` or `1` digits
(and optionally an `n` to signify a `BigInt`). It is an error to include other
digits in binary number literals:

```javascript
let minInt16 = 0b1000000000000000N;
let mouse = [0xf09f, 0b196];
```

To fix this error, fix or remove the extra digits or letters:

```javascript
let minInt16 = 0b1000000000000000n;
```

Alternatively, convert the binary number literal into a decimal, hexadecimal, or
octal number literal:

```javascript
let mouse = [0xf09f, 0xb196];
```

Introduced in quick-lint-js version 0.2.0.