Echo JS 0.11.0

<~>

dsuckau 3311 days ago. link 1 point
Good points. Another one would be, in my opinion: if you are familiar with numeric count variables, like in a normal for-loop or even forEach(), you maybe get unexpected results with "for ... in":

var foo = ['a', 'b', 'c', 'd'];

foo.forEach(function (item, i) {
    console.log(typeof i); // "number"
});

for (var i in foo) {
    console.log(typeof i); // "string"
}