Articles like this are really helpful — thank you for writing.
jroobz
12

Really glad you liked the article.

  • The scope of a variable defined with var is function scope or declared outside any function, global.
  • The scope of a variable defined with let is block scope.
  • We use const when we don’t want to change the value for variable.
One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.