Skip to content

Instantly share code, notes, and snippets.

@mattn
Created October 21, 2009 05:59
Show Gist options
  • Save mattn/214906 to your computer and use it in GitHub Desktop.
Save mattn/214906 to your computer and use it in GitHub Desktop.
try {
with({
'の' : function(x){ return x==this['の']?x('へのへのおっぱい'):x.call?(function(){throw x})():x},
'メ' : function(x){ return x==this['メ']?x('傷物おっぱい'):x.call?(function(){throw x})():x},
'д' : function(x){ return x==this['д']?x('ニプレスおっぱい'):x.call?(function(){throw x})():x},
'v' : function(x){ return x==this['v']?x('とんがりおっぱい'):x.call?(function(){throw x})():x}
}) {
alert(()()) // へのへのおっぱい
alert(()()) // 傷物おっぱい
alert((д)(д)) // ニプレスおっぱい
alert(()()) // とんがりおっぱい
alert(()(д)) // エラー
}
} catch(e) {
alert('引数には乳首しか受け付けません:' + e);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment