News for hackers. Stuff that matters.
Re:Constantly Confusing ‘const’ by _getify on Tuesday September 08, 2015 @07:47PM (#10188857)
> If you pass a reference to the x array to a function

This notion (concern) is meaningless in JS, since when you pass any reference, it's always a reference-copy, so there's no value nor assistance that `const` provides.

Re:Constantly Confusing ‘const’ by AgentME on Wednesday September 09, 2015 @12:02AM (#10189603)
Const usage prevents a bug in my example directly above!