I have two lines in my kotlin JS project. ```print...
# javascript
z
I have two lines in my kotlin JS project.
Copy code
println("hello")
print("world")
but it only prints
hello
in the chrome console. I am confused why it shows such a behaviour , Is there any specific reason for that ?
a
If you add another println, does hello show up?
z
Yes, seems like thats the reason for this behaviour.
println("Foo")
,
print("Foo\n")
and
Copy code
print("Foo") println()
works as expected.