Braces in comment in JavaScript file marked as coding error

Try the following Javascript code in PyCharm:

path = '/404';
//capture bad url redirects starting with {{
path_bad = '/200';

The double braces at the end of the comment triggers syntax errors for the rest of the file.

Please sign in to leave a comment.