JavaScript Struggles - Part 1
Defending variables in JS have its own way.
We have three ways to defend a variable let, var, const.
VarLetConst
Changeable✔✔
Block Scope✔✔
Global Scope✔
Make Arrays✔✔✔
We mostly use let because of the block scope which I'll explain...
abdelrahmandwedar.hashnode.dev1 min read