Hacker News new | ask | show | jobs
by thomasfoster96 4039 days ago
I'm not sure I quite understand your point - while it's true that the variable called queue won't be reassigned, const would still allow elements and properties to be added to queue.
1 comments

const is not about immutability in JS.
I know that - but the previous comment made it sound as though it did mean immutability.