Last active
April 13, 2016 18:23
-
-
Save abhiguru/d142e8ba95160a5a0f95903acdf64884 to your computer and use it in GitHub Desktop.
Citrus Byte Array printer uncompiled
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
// Readable and Maintainable code here: https://gist.github.com/abhiguru/d142e8ba95160a5a0f95903acdf64884 | |
// Code for production deployment here: https://gist.github.com/abhiguru/ac11d45e00844250f42bcd44dac306a7 | |
var citbyt = {}; | |
citbyt["printArray"] = function(arr){ | |
for(var i = 0; i < arr.length; i++){ | |
if(arr[i].constructor == Array){ | |
citbyt["printArray"](arr[i]); | |
}else{ | |
console.log(arr[i]); | |
} | |
} | |
} | |
window["citbyt"] = citbyt; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment