I think the line check if(!this.options.reservedStrings.length) should be change to if (!this.options.reservedNames || !this.options.reservedNames.length)
@@ -116,7 +116,7 @@ export class BaseIdentifierObfuscatingReplacer extends AbstractObfuscatingReplac
* @returns {boolean}
*/
private isReservedName (name: string): boolean {
- if (!this.options.reservedStrings.length) {
+ if (!this.options.reservedNames || !this.options.reservedNames.length) {
return false;
}