cljs.repl.browser/thread-name

functionsince v1.10.238Edit
(thread-name)

Source code @ clojurescript:src/main/clojure/cljs/repl/browser.clj
(defn thread-name []
  (let [name (.getName (Thread/currentThread))]
    (if (string/starts-with? name "nREPL") "main" name)))