4 ms·
Only in the web environment. In fact the condition itself is true only when it runs in a web browser and not in a web worker.
by lifthrasiir 2y ago
Only in the web environment. In fact the condition itself is true only when it runs in a web browser and not in a web worker.
- sabbaticaldev 2y agowhich is the case for that code and it was added by the obfuscator
- lifthrasiir 2y agoNo obfuscator would add only that. It is almost surely from some library that is aware of the possibility that `window` may not exist.