[BREAKING CHANGE] change variable keyword to 'let' from 'var'

This commit is contained in:
Lukáš Hozda
2017-10-02 08:46:35 +02:00
parent 87b68b79f8
commit 660fbe2e39
7 changed files with 18 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
var x = [1, 2, 3];
let x = [1, 2, 3];
print(x[1]);
x[1] = 5;
print(x[1]);