Fix typo in the code

This commit is contained in:
qntmLeap 2017-06-05 08:21:51 +03:00 committed by GitHub
parent 9add0b1c88
commit 0fa7d5a8d5

View file

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