blob: f6a4e460a5ab1f597b8c5b286912b29e7ad14e84 [file] [log] [blame]
function test() {
var result0, result1, i = 0;
({ [i++]: result0 = "hungryByDefault", [i++]: result1 = "hippoByDefault"} = []);
return result0 === "hungryByDefault" && result1 === "hippoByDefault" && i === 2;
}
if (!test())
throw new Error("Test failed");