Created
September 28, 2010 02:22
-
-
Save ericelliott/600294 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node> "\\\\" | |
'\\\' | |
node> "1\/2\\3\\4\\5\\6\\" | |
'1/2\\3\\4\\5\\6\' | |
node> "1\/2\\3\\4\\5\\6" | |
'1/2\\3\\4\\5\\6' | |
:~/tmp# cat testme.js | |
console.log("\\\\"); | |
:~/tmp# node testme.js | |
\\ | |
UPDATE: 0.4.0 running on Mac OS X 10.6.6 | |
$ node --version | |
v0.4.0 | |
~/node-latest-install | |
$ node | |
> "\\\\" | |
'\\\' | |
> "1\/2\\3\\4\\5\\6\\" | |
'1/2\\3\\4\\5\\6\' | |
> "1\/2\\3\\4\\5\\6" | |
'1/2\\3\\4\\5\\6' | |
$ cat testme.js | |
console.log('\\\\'); | |
~/node-latest-install | |
$ node testme.js | |
\\ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment