Skip to content

Instantly share code, notes, and snippets.

@abhiguru
Last active April 13, 2016 18:23
Show Gist options
  • Save abhiguru/d142e8ba95160a5a0f95903acdf64884 to your computer and use it in GitHub Desktop.
Save abhiguru/d142e8ba95160a5a0f95903acdf64884 to your computer and use it in GitHub Desktop.
Citrus Byte Array printer uncompiled
// 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