Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Zacru
· 8y ago · 0 comments
But function getDate(date) is hoisted. The const version isn't.
Comments
[–]
codedokode
8y ago
I don't think it is a good idea to rely on such subtle differences that are not well known among developers. We want to write code that is easy to maintain, not compete in knowing ECMA specs, right?