Landing
https://codereview.chromium.org/1129083009/diff/20001/test/mjsunit/harmony/destructuring.js
File test/mjsunit/harmony/destructuring.js (right):
https://codereview.chromium.org/1129083009/diff/20001/test/mjsunit/harmony/destructuring.js#newcode344
test/mjsunit/harmony/destructuring.js:344: }());
On 2015/05/19 14:19:56, arv wrote:
Can haz order tests?
var log = [];
var obj = {
get x() {
log.push('get x');
return 1;
},
get y() {
log.push('get y');
return 2;
},
};
function f(name) {
log.push(`f ${name}`);
}
var {[f('x')]: x, [f('y')]: y} = obj;
assertArrayEquals(log, ['f x', 'f y', 'get x', get y']);
Done.
https://codereview.chromium.org/1129083009/
--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.