*print-newline*

dynamic varsince v0.0-2060Edit

Set to false by enable-console-print! to prevent println and prn from duplicating the newline already appended by JavaScript console.


Source docstring:
When set to logical false will drop newlines from printing calls.
This is to work around the implicit newlines emitted by standard JavaScript
console objects.
Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(def
  ^{:dynamic true
    :doc "When set to logical false will drop newlines from printing calls.
  This is to work around the implicit newlines emitted by standard JavaScript
  console objects."}
  *print-newline* true)