Juniors look at this and only see a basic math problem resulting in 90. But platform engineers see a dangerous object mutation anti-pattern that silently de-optimizes V8 engine's Hidden Classes under the hood.
What exactly gets printed to the console?
The real danger: Direct mutation breaks immutability, causing untraceable state bugs in modern reactive architectures. For high-throughput engines, deep freezing or pure immutable structures are non-negotiable to prevent layout shifts.
Oct 9, 2026 ยท 5:46 PM UTC

