Last active
December 15, 2015 05:49
-
-
Save gsimone/5212014 to your computer and use it in GitHub Desktop.
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
| function l(){ | |
| var toL = '', a = arguments, i = 0, output = ''; | |
| for (i in a){ | |
| if(typeof a[i] == 'object' && Object.prototype.toString.call( a[i] ) !== '[object Array]'){ | |
| for(property in a[i]){ | |
| toL += property + ': ' +a[i][property]+'; '; | |
| } | |
| } else { | |
| toL =toL + ' ' + a[i] ; | |
| } | |
| } | |
| console.log(toL); | |
| return toL; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment