steveosoule
6/19/2013 - 12:08 AM

javascript-object-for-in-loop.js

javascript-object-for-in-loop.js

for (var key in p) {
	if (p.hasOwnProperty(key)) {
		console.log(key + " -> " + p[key]);
	}
}