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
iam4x
94.17K
ericdfields
63.02K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#