r/javascript • • Oct 24 '16

help The only thing I hate about const ...

... is that it is 5 chars long.

For some reason, let with its 3 chars, looks more elegant.

7 Upvotes

49 comments sorted by

View all comments

2

u/2Punx2Furious Oct 25 '16

At least it's not "constant".

2

u/atubofsoup Oct 25 '16

export default constant final important foo:String = "bar"