Skip to content

Instantly share code, notes, and snippets.

@kalpesh-fulpagare
Created January 15, 2014 06:42
Show Gist options
  • Save kalpesh-fulpagare/8431867 to your computer and use it in GitHub Desktop.
Save kalpesh-fulpagare/8431867 to your computer and use it in GitHub Desktop.
js method for printing multiple variables on console
var log;
log = function() {
var i = 0;
while (i < arguments.length) {
console.log(arguments[i]);
i++;
}
return false;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment