Skip to content

Instantly share code, notes, and snippets.

@funkatron
Created December 31, 2010 18:23
Show Gist options
  • Save funkatron/761212 to your computer and use it in GitHub Desktop.
Save funkatron/761212 to your computer and use it in GitHub Desktop.
for (var prop in obj) {
if (obj.hasOwnProperty(prop)) {
if (typeof(obj[prop]) != 'function') {
sch.error('obj.'+prop+' ('+typeof(obj[prop])+') : '+obj[prop]);
} else {
sch.error('obj.'+prop+' ('+typeof(obj[prop])+')');
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment