Created
July 22, 2013 21:36
-
-
Save bonkydog/6057927 to your computer and use it in GitHub Desktop.
dump javascript object properties
This file contains hidden or 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
| // uses underscore.js | |
| _(Object.keys(ajaxArguments.files[0])).sort().map(function(k) { var v; try {v = ajaxArguments.files[0][k]; } catch (e) { v = "[EXCEPTION]"}; return k + "=" + v }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment