mangle destructuring function parameters (#2029)

fixes #2025
This commit is contained in:
Alex Lam S.L
2017-05-30 23:41:55 +08:00
committed by GitHub
parent 0cc6dedccc
commit 23265ac253
3 changed files with 6 additions and 16 deletions

View File

@@ -26,9 +26,7 @@ compress_new_function_with_destruct: {
}
expect: {
Function("a", "[b]", "return a");
Function("a", "{bb}", "return a");
Function("[[a]]", "[{bb}]", 'return a');
Function("a", "{bb:b}", "return a");
Function("[[a]]", "[{bb:b}]", 'return a');
}
}