Skip to content
This repository has been archived by the owner on Feb 21, 2022. It is now read-only.

Latest commit

 

History

History
15 lines (10 loc) · 855 Bytes

File metadata and controls

15 lines (10 loc) · 855 Bytes

As of the ECMAScript 5 specification, octal escape sequences in string literals are deprecated and should not be used. Unicode escape sequences should be used instead.

The eslint docs

Octal escape sequences, such as "\45", which is equal to "%", can be used to represent characters by extended-ASCII character code numbers in octal. In strict mode, this is a syntax error.

MDN about Strict mode

See also the MDN page about the related SyntaxError