"\n" debug console.

What is this "\n" thing getting in the way of my text when using the console.log( command? 

Example: Script: console.log("Type a thing here or something idk")

OutPut in console: "Type a thing here\n or something idk"

??????????
Depends what you're logging.


\n is the newline character. So if you're outputting a string variable and it contains a newline, that's what you'll get.


I assume whatever script you're using that uses that string will look for and process the newline correctly.
Depends what you're logging.

\n is the newline character. So if you're outputting a string variable and it contains a newline, that's what you'll get.

I assume whatever script you're using that uses that string will look for and process the newline correctly.
So how do i do it correctly?
How do you do what correctly? If there's a newline in the string being output, it will show in the console. It's not hurting anything.
How do you do what correctly? If there's a newline in the string being output, it will show in the console. It's not hurting anything.
Is there a way to remove the "\n" at all because it does get a bit in the way. 
Don't split your script call onto two lines.
Thanks. Ill try that. Sorry if this was a stupid question but i didnt find any other people asking about it.

Original thread: https://forums.rpgmakerweb.com/threads/n-debug-console.53883/