console-feed
console-feed copied to clipboard
Changing object's property values during console log causes a bug
Expected Behaviour
let x = {
a: 1
};
console.log(x.a); //1
console.log(x); //{a: 1}
x.a = 2;
console.log(x.a); //2
console.log(x); //{a: 2}
Chrome and Mozilla show additional info to warn users about the new evaluated value, but Safari does not.
Current Behaviour
See https://github.com/samdenty/console-feed/issues/19#issuecomment-483432656
Hi, thanks for the great library! I was thinking about removing setTimeout function on the whole until I looked at your comment.
@samdenty Any idea if 2.8.8
should fix this (and https://github.com/codesandbox/codesandbox-client/issues/1978) ? I opened this CodeSandbox PR , but I still get the same behavior.