调试时,能够简单地打印内容通常非常方便。
我如何在Clojurescript中调用document.write?
像这样:
(.write js/document "hey")
document.write
document.write
,它通常会覆盖整个页面。 - Macil