DEV Community

Discussion on: Is`let` the new `var` in Javascript?

Collapse
 
webd00d profile image
Christian Bryant

I'd say const is the new var.

var was the default (and only) option to declare a variable, and const I would say is the new "default".