Answer the question
In order to leave comments, you need to log in
Why does Chrome DevTools display an object incorrectly?
I am developing an extension for a browser, from the content of the script I display the
console.log( task, task.taskName );
Log object in the console:
Why are the values different? Is this a chrome bug or are they really 2 different objects?
Answer the question
In order to leave comments, you need to log in
Chrome logs a live object. It shows all the changes that were made after logging. Apparently at some point the value of the taskName field changes somewhere
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question