Extremely thin console.log wrapper
window.log = ->
if typeof(console) != "undefined" && console.log
if arguments.length == 1
console.log(arguments[0])
else
console.log(arguments)
Written by Matias Korhonen
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Coffeescript
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#