dictionary in JavaScript
Objects in JavaScript can be thought of as associative arrays, mapping keys (properties) to values ``` var d = {}; d['a'] = 1; d['b'] = 2; d['c'] = 3; delete d['b']; for(var i in d) { console.log(d[i]); } ```
Objects in JavaScript can be thought of as associative arrays, mapping keys (properties) to values ``` var d = {}; d['a'] = 1; d['b'] = 2; d['c'] = 3; delete d['b']; for(var i in d) { console.log(d[i]); } ```