The Greatest Pun in JavaScript Hides in Plain Sight

A blog post explores the greatest pun the author has found, which isn't in English but in JavaScript. By defining a tag function called prompt, the apparent {{ }} template syntax emerges from ${...} evaluation and object shorthand, letting JavaScript see one thing while you see another. The author worked with Justin from Helicone to make it official in the SDK.
A pun is one string with two parses.
- quixoticaxolotl
Note that the Shakespeare quote in the beginning is an example of antimetabole, not a pun.
- doebler
> Rarely can you swap two words to form a correct grammatically sentence, yet he played with words like a magician.
Polish poet Sep-Szarzyński was an absolute master of this. Of course it helps that word order in Slavic languages is flexible, yet still. Hos poems are mind-boggling, to the point of being incomprehensible, yet completely gramatically correct.
- malfist
Any joke that takes five screens of text to explain is not the least bit funny