Your console.log Is Lying to You
🔒
https://dev.to
«Open your browser DevTools and run this:
const user = { name: "Bob" }
console.log(user)
user.name = "Alice"
You would expect the log to show { name: "Bob" }, the value at the time of the console.log call. The co...»
Automatische Weiterleitung...
1.5s