-
-
Notifications
You must be signed in to change notification settings - Fork 135
Open
Description
🐛 Bug Report
Scanner throws an "Unexpected token" error when coming across Logical OR assignment ||=.
To Reproduce
Scan code including the following (or something similar):
let test = false;
test ||= null;Expected behavior
The scanner should have no problem parsing the code since it's valid JS.
Your Environment
- runtime version: Node v21.6.2
- i18next version: i18next-scanner 4.4.0, i18next 23.11.5
- os: Mac
Metadata
Metadata
Assignees
Labels
No labels