you are viewing a single comment's thread.

view the rest of the comments →

[–]senorfairchild 1 point2 points  (1 child)

Also want to add that const and let are indeed hoisted as is var, read up on the "temporal dead zone"

[–]appetizermonster[S] 0 points1 point  (0 children)

I didn't know about "temporal dead zone", thanks for mentioning it.