News for hackers. Stuff that matters.
Re:What’s New in ES2019 by bernawil on Tuesday July 30, 2019 @10:10AM (#20564967)
const only means the variable itself can't be reassigned though, and really the main complain about mutation comes from Array methods. Like Array.pop will mutate the array and you have to do an Array.split for the last item instead if you want to keep your array.

There are no comments on this comment yet.