Re:ClojureScript 101
by omni on Saturday November 09, 2013 @08:57AM
(#6701628)
I think this is a typo in the article. If you remove the parenthesis right before log, this should work. You're using the dot form to chain log onto js/console. When you write "(log" instead of just "log", it tries to call log as its own function, not as a method of js/console. This is why it tells you it's never seen that variable before.
(go (while true) (. js/console log (<! clicks)))