Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changing value of a object, console log bug #1978

Closed
xianjiezh opened this issue May 27, 2019 · 2 comments · Fixed by #2079
Closed

changing value of a object, console log bug #1978

xianjiezh opened this issue May 27, 2019 · 2 comments · Fixed by #2079

Comments

@xianjiezh
Copy link

🐛 bug report

changing value of a object, console log bug

this is my code

let x = {
  a: 1
}

console.log(x.a)
console.log(x)

x.a = 2

console.log(x)

this is the console output
image

@halitogunc
Copy link
Contributor

Codesandbox is using console-feed library to display console logs. See samdenty/console-feed#23 (comment).

@lbogdan
Copy link
Contributor

lbogdan commented Oct 24, 2019

Closing as duplicate of #1043 , please see the workaround there and subscribe to it for updates.

@lbogdan lbogdan closed this as completed Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants