I’m having trouble finding the answer to this question elsewhere. When escaping quotes in a string, why don’t the two backslashes encompass the entire literal quote like:
var myStr = "I am a \"double quoted"\ string inside \"double quotes"\."
Instead, the second backslash resides on the inside of the quote. This doesn’t make sense to me.