Closed wojciech-lasota closed 1 year ago
Object Destructuring:
const { i = 2, j = 4, k = 6 } = { n: 10 };
console.log("i: " + i); // 10 -> should be 2 console.log("j: " + j); // 4 console.log("k: " + k); // 6
Thanks for the issue. It has been corrected now.
Object Destructuring:
const { i = 2, j = 4, k = 6 } = { n: 10 };
console.log("i: " + i); // 10 -> should be 2 console.log("j: " + j); // 4 console.log("k: " + k); // 6