Zalando interview question

Was ist der Unterschied zwischen `var` und `let` in JavaScript?

Interview Answer

Anonymous

27 Feb 2019

`var` is "function-scoped" während `let` "block-scoped" ist.

2