Hacker News new | ask | show | jobs
by ksherlock 2269 days ago
... Why? This happened when I switched my parser to skip per-byte checks when encountering `"` to next indexOf.

Q: What happens when you parse "\\" ?

1 comments

If string[index-1] === `\\` Then skipAgain
How does that differentiate "\\" vs "\" ?