Hacker News new | ask | show | jobs
by robrichard 3523 days ago
const only guards against changing the reference that it was assigned to. This won't break because info is still assigned to the same array. It doesn't matter that the array was mutated.