JavaScript - Variable declaration
So I spent the day learning a little bit. I'll attempt some simple games this week.
# These are the variable functions w/ description
var: Function or globally scoped, can be redeclared.
let: Block-scoped, cannot be redeclared in the same scope.
const: Block-scoped, cannot be redeclared or reassigned.
0
0
0.000
Congratulations @strangedad! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)
Your next target is to reach 50 upvotes.
You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word
STOP
Check out our last posts: