Open
Description
In advanced obfuscation, the method "something" is removed from the compiled output.
class A {
method() { console.log("instance method"); }
static something() {
console.log("something static");
new A().method();
}
}
export default A;
import A from "A"
A.something(); // fails at runtime, [obfuscated name] is not a function
I'm guessing this is specific to ES6 modules, since I use classes and static methods with goog.module successfully.