You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the javascript tutorial the var keyword is introduced and used extensively, while let and const are only mentioned briefly under the ES6 additions section at the end. In this day and age, where ES6 is support is extremely common and use of var is essentially entirely been supplanted by let and const, wouldn't it make more sense to have var be the footnote instead?
I can make this change, I just want to see what ppl think
The text was updated successfully, but these errors were encountered:
You have a good idea, but it would be ideal to leave the var because there are still many projects that use it, this is indispensable when learning javascript. We would then have var, let and const
ES6 which introduced let/const which made var obsolete has been out since 2015, almost a decade. I agree that var is still used plentifully and should be discussed, but I really do think that the primacy should be given to let & const and var should be the afterthought?
In the javascript tutorial the
var
keyword is introduced and used extensively, whilelet
andconst
are only mentioned briefly under the ES6 additions section at the end. In this day and age, where ES6 is support is extremely common and use ofvar
is essentially entirely been supplanted bylet
andconst
, wouldn't it make more sense to havevar
be the footnote instead?I can make this change, I just want to see what ppl think
The text was updated successfully, but these errors were encountered: