Thanks, that's good to know. It's interesting then that clojurescript has a `MetaFn` and an explicit check for functions in `meta`.
As a workaround this seems to work:
```
(def xxx (specify! (fn [& args] (count args)) cljs.core/IMeta (-meta [_] {:foo "bar"})))
```