Created
May 28, 2009 00:34
-
-
Save thata/119007 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function inspect(obj) { | |
var name; | |
var result = ""; | |
for(name in obj) { | |
if (typeof obj[name] !== 'function') { | |
result = result + name + " : " + obj[name] + "\n"; | |
} | |
} | |
return result; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment