Home
Public posts
API
Home
Public posts
API
Sign in with GitHub
1
const a = { x: { y: 1 } };
2
const b = { ...a };
3
b.x.y = 2;
4
console.log(b)
5
console.log(a)
6
b.x = 2;
7
console.log(a)
8
console.log(b)
9
10
11
Auto run
Auto clear
Run
Code will run automatically after changes.
Code runs in an isolated environment.