You can't reassign constants in JS, it throws an error: Uncaught TypeError: Assignment to constant variable.
But yes you can modify objects and arrays of a constant, which is not great.
But yes you can modify objects and arrays of a constant, which is not great.
No comments yet.