r/shittyprogramming • • Mar 26 '19

Abusing JavaScript's Syntax? Yay!

Post image
208 Upvotes

15 comments sorted by

View all comments

Show parent comment

14

u/AyrA_ch Mar 26 '19

Worth noting that to execute this comment evaluation directly it needs the "unsafe-eval" directive if a CSP is in place.