diff --git a/vlib/builtin/js/builtin.js.v b/vlib/builtin/js/builtin.js.v index 09fa32d0c7..6390fe01a4 100644 --- a/vlib/builtin/js/builtin.js.v +++ b/vlib/builtin/js/builtin.js.v @@ -5,9 +5,9 @@ pub fn js_throw(s any) { #throw s } -# let globalPrint; +#let globalPrint; $if js_freestanding { - # globalPrint = globalThis.print + #globalPrint = globalThis.print } pub fn println(s string) {