-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Description
When I tried to use RegExp by calling .test()
, I got different results when the code was obfuscatied.
Here is the sample code to reproduce the issue: gist
Expected Behavior
The code above should log the host(127.0.0.1:54637
) of the url to the console
Current Behavior
By running multiple times of npm run test
, I got different results.
Steps to Reproduce
- clone the code from gist
- install deps
npm install
- run
npm run test
Your Environment
- Obfuscator version used: 2.9.4
- Node version used: v12.16.3
Stack trace
no error throw in this case.