const a = { count: 0 }; // b names the SAME object, not a copy const b = a; b.count = 5; console.log(a.count);
assignment aliases the same object