3 ms·
the condition is a constant so it can be safely removed
by sabbaticaldev 2y ago
the condition is a constant so it can be safely removed
- lifthrasiir 2y agoOnly 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.