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 whiteboardingDifficulty
var obj1 = {
value: 1
}
obj1.__proto__.value = 2
console.log(obj1.value) // ?
Categories
⚛️ Javascript ⛔️ No computer needed ⛔️ No whiteboardingDifficulty
🤔 Medium