Before ES6(2015), variables used to declare with var. But now with ES6 we have let and const for variable declaration. var had some drawbacks which caused developers to find new way for variable declarations. var var is globally scoped or functional ...
pratikdevle.hashnode.dev4 min read
No responses yet.