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 really like how a certain subset of the code makes the alert appear not once, but over and over again
@typhlosion the best part is if you're in chrome try typing "Object." into the dev console
@boots boots how...
@typhlosion chrome's sandboxing is really weird
@boots okay i think i figured this one out - i really like the disguised arrow function, that was a good touch
@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
@boots i am really enjoying this one