whatsthecodeforthat.com

What's the code for Iterating Key-Value Pairs in javascript?

var keys = Object.keys(map);
for (var key in m) {
	var val = m[key];
	console.log(val);
}