When Console Logging a Specific String, Extra Characters are Added

I am experiencing an issue that makes it so I am getting unnecessary characters that I do not want added into my console.log statement. Here’s whats happening:

I have a page in which I type something in a text box.

Heres how the text page looks like and how I am typing

And whatever I type into the text box printed out in the console.

When I use the characters n, it is replaced with n (without the space in between) for some reason. I am trying to get just n so I can go to the text line.

Here is what is logged into the console

If somebody could tell me how to not make this happen or at least why this is happening it would be much appriciated! I looked this up a lot online and could not find anything.

Thanks in advance