computed properties

This commit is contained in:
Fábio Santos
2015-09-07 22:46:07 +01:00
parent b14496c742
commit b31918bbf0
5 changed files with 42 additions and 0 deletions

View File

@@ -36,6 +36,13 @@ regression_arrow_functions_and_hoist: {
expect_exact: "a=>b;"
}
computed_property_names: {
input: {
obj({ ["x" + "x"]: 6 });
}
expect_exact: "obj({[\"x\"+\"x\"]:6});"
}
typeof_arrow_functions: {
options = {
evaluate: true