adambard / adambard/learnxinyminutes-docs

[javascript/en] var -> let/const

Aperta
#4,707 4 commenti 5 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Markdown
Stelle
12.3k
Fork
3.7k
Merge medio
13h 10m
PR unite (30g)
6

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.