Merge branch 'master' into harmony-v3.1.7

This commit is contained in:
alexlamsl
2017-11-05 15:47:40 +08:00
8 changed files with 535 additions and 85 deletions

View File

@@ -1282,3 +1282,22 @@ computed_property: {
]
node_version: ">=4"
}
new_this: {
options = {
properties: true,
side_effects: true,
}
input: {
new {
f: function(a) {
this.a = a;
}
}.f(42);
}
expect: {
new function(a) {
this.a = a;
}(42);
}
}