Using ClojureScript in Nextjournal

To start using ClojureScript in Nextjournal, type this into a paragraph:

```cljs

followed by a space.

That will create a ClojureScript cell like below:

ClojureScript

Now you can start executing ClojureScript.

"Hello, World"
ClojureScript

The ClojureScript is immediately compiled Javascript and will execute in the browser. That means you can do stuff like this:

(js/console.log "Check your browser console to read this text")
ClojureScript

Unfortunately, the functionality of ClojureScript in Nextjournal is experimental and very limited. Loading external dependencies is currently not supported.

Runtimes (1)