JavaScript Quiz Practice
Active Recall Drill Session
← Exit SessionQuestion 1 of 1
mediumJavaScript
What does this log?
code
const base = { x: 1 };
const child = Object.create(base);
child.x = 2;
console.log(base.x);Loading compiler resources...
Active Recall Drill Session
const base = { x: 1 };
const child = Object.create(base);
child.x = 2;
console.log(base.x);