Merge pull request #4 from qntmLeap/patch-2

Fix typo in the code
This commit is contained in:
Ilya Kantor 2017-06-05 14:34:17 +03:00 committed by GitHub
commit 5bd6424ef2

View file

@ -67,7 +67,7 @@ let john = { name: "John", *!*id: 1*/!* };
let visitsCounts = {};
// now store the value by id
visitCounts[john.id] = 123;
visitsCounts[john.id] = 123;
alert( visitsCounts[john.id] ); // 123
```