why 'const' is considered better than 'let' and 'var'
Some reasons why const is considered better than let and var in certain situations:
'let' and 'var' values can be reassigned but the 'const' value cannot be reassigned once it has been initialized, which can guarantee that the value of a 'const' var...
surajdev.hashnode.dev1 min read