Can I have a JS lambdas in Clojurescript? I have
.then((entry) => console.log(entry))
How will it work in CLJS?
Can I have a JS lambdas in Clojurescript? I have
.then((entry) => console.log(entry))
How will it work in CLJS?
A lambda is made with fn
:
(.then promise (fn [entry] (.log js/console entry)))