Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
thomasfoster96
· 11y ago · 0 comments
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.
Comments
[–]
bmeck
11y ago
const is not about immutability in JS.
[–]
thomasfoster96
OP
11y ago
I know that - but the previous comment made it sound as though it did mean immutability.