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:
To fix this error, fix or remove the extra digits or letters:
Alternatively, convert the binary number literal into a decimal, hexadecimal, or octal number literal:
Introduced in quick-lint-js version 0.2.0.