fix #1003 by removing AST_ObjectSymbol and using AST_ObjectKeyVal for the same effect
This commit is contained in:
committed by
Richard van Velzen
parent
accca2445f
commit
6d2f77c180
@@ -54,6 +54,20 @@ computed_property_names: {
|
||||
expect_exact: 'obj({["x"+"x"]:6});'
|
||||
}
|
||||
|
||||
shorthand_properties: {
|
||||
mangle = true;
|
||||
input: (function() {
|
||||
var prop = 1;
|
||||
const value = {prop};
|
||||
return value;
|
||||
})();
|
||||
expect: (function() {
|
||||
var a = 1;
|
||||
const b = {prop:a};
|
||||
return b;
|
||||
})();
|
||||
}
|
||||
|
||||
typeof_arrow_functions: {
|
||||
options = {
|
||||
evaluate: true
|
||||
|
||||
Reference in New Issue
Block a user