this is my code let status = "😎"; setTimeout(() => { const status = "😍"; const data = { status: "🍊", getStatus() { return this.status; }, }; console.log(data.getStatus()); console.log( data.getStatus.call (this)); }, 0); expected output 🍊 😎 But getting 🍊 undefined