ES6 var vs let vs const
Javascript let, var and const
ES6 determination presented two better approaches for declaring variables in JavaScript with let and const keyword. First, let's take a look of this table below.
KeywordconstLetvar
Global Scopenonoyes
Function Sco...
marcomat.hashnode.dev6 min read