Timothy Gu 5249b9d809 Remove ES2015 tests than do not parse in ES2016 (#4501)
These tests are originally from Traceur, which does not fully support
ES2016.

See babel/babylon#106 for a rationale why these code blocks are not
valid ES2016.
2016-09-11 21:58:38 -04:00

12 lines
121 B
JavaScript

var count = 0;
var o = {
get x() {
count++;
return 1;
}
};
function f({x}) {}
f(o);
assert.equal(1, count);