I got the following exception
Uncaught TypeError: Cannot read property 'cljs$core$IFn$_invoke$arity$1' of
undefined
and I fixed it by using my own println
(defn- println2 [& strs]
(doseq [str strs]
(try
(println str)
(catch js/Object e
(.log js/console e)))))
I tried using (if (undefined? str) ...) but that didn't catch it.
The print out on the console I get is
TypeError: Cannot read property 'cljs$core$IFn$_invoke$arity$1' of undefined(…)
Notice the (...) and the end.
--
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.