What will the following code log?
const obj = { a: 1, b: 2 }; delete obj.a; console.log(obj)
{ b: 2 }
{ a: null, b: 2 }
{ a: undefined, b: 2 }
Error
This question is part of this quiz :