SyntaxFix
Write A Post
Hire A Developer
Questions
The first one should work:
> "a\nb".split("\n"); [ 'a', 'b' ] > var a = "test.js\nagain.js" undefined > a.split("\n"); [ 'test.js', 'again.js' ]