here's some neat looking invalid javascript
it won't do anything when you run it, it's so obviously invalid, right
This program has multiple syntax faults, and even if it didn't, it's not calling anything.
https://ghostbin.com/paste/gu9tu
(Hint: The emoticons at the bottom are red herrings.)
@boots i am really enjoying this one
@boots i really like how a certain subset of the code makes the alert appear not once, but over and over again
@typhlosion yeah, basically the browser casts SyntaxError to a string when it gets ~ called on it (bitwise-not) and since the function.prototype assignment ran first due to parenthesis, it runs the alert
the "Object." thing is just chrome weirdness though
iirc you can use it to make a dev tools beartrap which is fun
@boots i was able to get the payload to run with just 0/(the function prototype assignment), which is what ended up finally cinching it for me