Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
2 of 4 added 7 characters in body

As far as I can understand

default: comment.replace(i, 0, "\\");

makes

case '\\': comment.replace(i, 0, "\\"); break;

useless.