As far as I can understand
default: comment.replace(i, 0, "\\");
makes
case '\\': comment.replace(i, 0, "\\"); break;
useless.
CARVIEW |
Stack Exchange network consists of 183 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 ExchangeTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about TeamsAs far as I can understand
default: comment.replace(i, 0, "\\");
makes
case '\\': comment.replace(i, 0, "\\"); break;
useless.