What is the output of the following?

var obj1 = {
  value: 1
}

obj1.__proto__.value = 2

console.log(obj1.value) // ?

Categories

⚛️ Javascript ⛔️ No computer needed ⛔️ No whiteboarding

Difficulty

🤔 Medium

Last Updated: 1/26/2019, 9:39:14 PM