Values & References3 / 18
Up next

const binds, not contents

const nums = [1, 2, 3];
// const forbids REBINDING nums, but the array can still change
nums.push(4);
console.log(nums);
What you're solving

a const object is still mutable