Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Overview of JavaScript ES6 features. Parent comment
For anyone not in the know, declaring `const` on an object only makes it where you can't re-assign the object, but you can still mutate its 'members'.
Personally, I use `let` just to symbolize that it isn't a constant and does change even though I could declare it a `const`.
I think it makes the code more readable.
There are no comments on this comment yet.
For anyone not in the know, declaring `const` on an object only makes it where you can't re-assign the object, but you can still mutate its 'members'.
Personally, I use `let` just to symbolize that it isn't a constant and does change even though I could declare it a `const`.
I think it makes the code more readable.