Skip to content

Instantly share code, notes, and snippets.

@perguth
Created September 8, 2015 10:48
Show Gist options
  • Select an option

  • Save perguth/3b8e93d0327ae90e4228 to your computer and use it in GitHub Desktop.

Select an option

Save perguth/3b8e93d0327ae90e4228 to your computer and use it in GitHub Desktop.
A simple `console.log` wrapper. Just a shorthand.
function log () {
var args = Array.prototype.slice.call(arguments)
console.log.apply(console, args) }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment