Values & References3 / 18
Up next

const blocks rebinding

// const blocks REBINDING, not mutating the object
const config = { retries: 3 };
config.retries = 5;
// config = {} would be a compile error
console.log(config.retries);
What you're solving

const forbids rebinding, not mutation