DEV Community

Discussion on: Notes on ECMAScript 6 (ES6)

Collapse
flaviocopes profile image
flavio ⚡️🔥

const has a great advantage: there are less moving parts in your code.

I now default to const unless I know the variable is going to be reassigned later on.