You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Testing on both Node.js v0.12.5 and v5.0.0 on Windows, I'm encountering a strange behavior regarding backslashes. Take a look at the following I typed in the Node CLI:
>'\/''/'>'\\/''\\/'
Here is the same thing typed in Google Chrome 46's console:
>'\/''/'>'\\/''\/'
So, as you can see on the last lines, the escaping of backslashes doesn't seem to be correct on the Node environment. Is it something known and expected or actually a bug?
The text was updated successfully, but these errors were encountered:
It doesn't give you too backslashes. It's just the REPL output that's different.
You can see with console.log('\\'); that the string contains only one backslash.
Testing on both Node.js v0.12.5 and v5.0.0 on Windows, I'm encountering a strange behavior regarding backslashes. Take a look at the following I typed in the Node CLI:
Here is the same thing typed in Google Chrome 46's console:
So, as you can see on the last lines, the escaping of backslashes doesn't seem to be correct on the Node environment. Is it something known and expected or actually a bug?
The text was updated successfully, but these errors were encountered: