Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

`const` in JS doesn't refer to the array being immutable, only that the variable referencing it stays the same (it can't be reassigned), so this is normal in JS.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: