Uglifyjs already supports super as an implicit global! Just adding a test to indicate that.

This commit is contained in:
Fábio Santos
2015-08-05 11:49:31 +01:00
parent 9d7d365c2b
commit ddd30eeaaa

9
test/compress/super.js Normal file
View File

@@ -0,0 +1,9 @@
super_can_be_parsed: {
input: {
super(1,2);
super.meth();
}
expect_exact: "super(1,2);super.meth();"
}