Expected Behavior
This input JavaScript code
// input.js
try { await; } catch { console.log("caught"); }
should print caught due to ReferenceError in try block. (free identifier await)
$ node --version
v18.11.0
$ node input.js
caught
Current Behavior
Obfuscator crashes when the input.js is given.

Note: var await; works fine.
Steps to Reproduce
- I used https://obfuscator.io/ (with default settings) to make this error.
- Paste
input.js.
- Obfuscate.
Your Environment
Stack trace
Minimal working example that will help to reproduce issue
Expected Behavior
This input JavaScript code
should print
caughtdue toReferenceErrorintryblock. (free identifierawait)Current Behavior
Obfuscator crashes when the

input.jsis given.Note:
var await;works fine.Steps to Reproduce
input.js.Your Environment
Stack trace
Minimal working example that will help to reproduce issue