Created
February 20, 2025 20:40
-
-
Save aadsm/63cacaddf95bdf82a947ec427264075e to your computer and use it in GitHub Desktop.
evil.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const filters = [(frame) => !frame.includes("/ignore.js")]; | |
let stacktrace = new Error().stack.split("\n"); | |
stacktrace = filters.reduce(filters.filter.call, stacktrace); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment