Comment Comment by camsjams 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. parent camsjams 3 years ago
But yes you can modify objects and arrays of a constant, which is not great.