Source code
Revision control
Copy as Markdown
Other Tools
// Any copyright is dedicated to the Public Domain.
(function () {
var obj = {prop: 1};
var [x, {prop: y}] = [function () { return y; }, obj];
assertEq(y, 1);
assertEq(x(), 1);
})();
reportCompare(0, 0, 'ok');