What would you _expect_ the output to be?
const p = {m: 'a'};
const c = {m: 'b'};
Object.setPrototypeOf(c, p);
console.log(c.m);
delete c.m;
console.log(c.m);
delete c.m;
console.log(c.m);
36%
b, a, undefined
27%
b, undefined, undefined
32%
b, a, a
5%
TypeError
22 votes • Final results