r/transprogrammer • • Dec 11 '22
JavaScript prank
Ok so replace all of the semi colons with Greek questions marks. They look the same.
47
Upvotes
r/transprogrammer • • Dec 11 '22
Ok so replace all of the semi colons with Greek questions marks. They look the same.
20
u/PleaseCallMeLiz Dec 11 '22
I've got a vs code plugin to prevent shenanigans like this.
5
u/WoomyUnitedToday Dec 11 '22
I knew exactly what it was the second I saw the title.
Wouldn't this work in way more than just JavaScript?
3
u/raexorgirl Dec 12 '22
That would work, if they didn't have the same Unicode. Both greek and english keyboards I tried give the same unicode.
4
u/[deleted] Dec 11 '22
Well, I prefer to grow cress on someone's keyboard when they're on holiday. And that's language-agnostic prank.
2
u/TheFractangle Dec 11 '22
laughs in uncommented clojurescript