Comment
Comment by robrichard
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.
Be the first to share your thoughts.