Skip to content

[Bug]: (Crash) Direct invocation of class #1132

@p51lee

Description

@p51lee

Obfuscator fails when obfuscating the following code.

try { ! class { } ( ) ; } catch { }

Expected Behavior

The input code is a valid javascript program. (! class { } ( ) throws TypeError)

Current Behavior

Obfuscator fails to obfuscate input.js:
image

Steps to Reproduce

  1. Obfuscate the input code using https://obfuscator.io/.

Your Environment

Stack trace

Minimal working example that will help to reproduce issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions