+ 4
I know the answer in Javascript, but not Swift. In Javascript, "let" allows you to declare variables that are limited in scope to the block, statement, or expression on which it is used. "var" is different. It defines a variable globally, or locally to an entire function regardless of block scope.
3rd Dec 2017, 7:37 AM
Eric Blinkidu
Eric Blinkidu - avatar