When you do something like
This is an invalid JavaScript RegExp literal, however it gets parsed like the following:
new RegExp('/efe/g', 'g');
Should this not be treated literally, like in other examples such as this?
I think it should be treated as the following:
When you do something like
This is an invalid JavaScript RegExp literal, however it gets parsed like the following:
Should this not be treated literally, like in other examples such as this?
I think it should be treated as the following: