How to get data from an object visible on browser console but returns null when I manually traverse it on my code?
问题 //listen for messages channel.on("messageAdded", function (message) { //render new message console.log("New awesome message", message) //this is null for some reason console.log("Stringify 3",JSON.stringify(message.state.aggregatedDeliveryReceipt)) } But by storing it as a global object via console right click, I am able to do a console.log(temp1.state.aggregatedDeliveryReceipt) and get back The problem is that, when I use the same state.aggregatedDeliveryReceipt on my JS file, I am unable to