Skip to content

Instantly share code, notes, and snippets.

@frewsxcv frewsxcv/gist:5416325
Last active Dec 16, 2015

Embed
What would you like to do?
var key;
for (key in myobj) {
if (myobj.hasOwnProperty(key)) {
console.log(key, myobj[key]);
}
}
//////////////////////////////////////
$.each(myobj, function (key, value) {
console.log(key, value);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.