Re:How necessary are var, let, and const?
by thomasfoster96 on Monday June 01, 2015 @11:11AM
(#9639168)
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.
[ Parent
| on HN ]
const is not about immutability in JS.
Re:How necessary are var, let, and const?
by thomasfoster96 on Wednesday June 03, 2015 @09:17AM
(#9652266)
I know that - but the previous comment made it sound as though it did mean immutability.