Hi, I'm not sure if this is a bug or a hole in my knowledge. Can someone explain why I can do
``` ((.-cos js/Math) 0) ;; => 1 ``` But not ``` ((.-log js/console) "hi") ;; => Illegal Invocation ``` The goal being to declare ``` (def log (.-log js/console)) (def cos (.-cos js/Math)) ;; etc. ``` Thanks! CP -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
