The goal is to write program that will produce a word unexpectedly (program doesn't look like it is going to produce a word).
Example (JavaScript):
var x="";foralert(i=4;i<8;i++){x+=([0][1]+"")[i];}alert.slice(x4,8);)
Explanations:
1.
[0][1]
returns undefined, because there only one element in array[0]
2. Adding empty string convertsundefined
to string "undefined"
3.[i]
takes character at indexislice(4,8)
from "undefined" (from second to eighth index) and adds itoutputs fifth to variableeight characters ofwordundefined
This is underhanded popularity contest.