You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In 6.A.3.5, rDesc = //; should be rDesc = /(?:)/; because two forward slashes in succession begins a single-line comment, and because the empty non-capturing group is well known to be the minimal regex literal; it has been mentioned in the ECMAScript standard since ES3, and in most browsers, String(RegExp('')); returns "/(?:)/" (try it out in the console).
The text was updated successfully, but these errors were encountered:
In 6.A.3.5,
rDesc = //;
should berDesc = /(?:)/;
because two forward slashes in succession begins a single-line comment, and because the empty non-capturing group is well known to be the minimal regex literal; it has been mentioned in the ECMAScript standard since ES3, and in most browsers,String(RegExp(''));
returns"/(?:)/"
(try it out in the console).The text was updated successfully, but these errors were encountered: