title: js/console.log in ClojureScript
body: <p>I want to implement a function with ClojureScript to simplify <code>js/console.log</code> like this:</p>
  
  <pre><code>  (defn log [&amp; args]
        (apply js/console.log args))
  </code></pre>
  
  <p>Calling it : <code>(log "foo" "bar")</code>
  throws:  <code>TypeError: Illegal invocation</code></p>
  
  <p>but this works : <code>(js/console.log "foo" "bar")</code></p>
  
  <p>What is the problem ?</p>