Is there still reason to use var in Javascript?

Asked

Viewed 107 times

4

ES6 introduced the Keywords let and const for variable declaration.

There is still reason to use var? If yes, in which scenarios to use?

  • see http://www.matera.com/br/2017/05/09/javascript-6-diferenca-entre-var-let-e-const/

1 answer

2

Browser other questions tagged

You are not signed in. Login or sign up in order to post.