Frage im Vorstellungsgespräch bei Crossover for Work

Difference between let vs Var

Antworten zu Vorstellungsgespräch

Anonym

20. Okt. 2018

Basically the same var is functional while let is blocked

1

Anonym

20. Okt. 2018

The main difference is the scope var is scoped to the next function block and lets scoped to the next enclosing block

1