I know from C#, that you can mark a string as not escaping any characters by using the @ symbol as such:
string foo = @"\n this is actually \n";
Is the same possible in JavaScript, or do you have to escape all characters manually?
I know from C#, that you can mark a string as not escaping any characters by using the @ symbol as such:
string foo = @"\n this is actually \n";
Is the same possible in JavaScript, or do you have to escape all characters manually?
Short answer No. You can however post the strings in a form field in HTML and then read the string from there after the page is loaded. but that's a hackish solution and probaly not what you're looking for.