Name: Anonymous 2010-05-23 16:42
Show off your skills
javascript:(function(s) { return s.length == 2 || s.length == 1 ? "[spoiler]" + s + "[/spoiler]" : "[spoiler]" + s[0] + arguments.callee(s.substring(1,s.length-1)) + s[s.length-1] + "[/spoiler]"; })(prompt("Text:"));
function bookmarklet(y_arg, s) { return s.length == 2 || s.length == 1 ? "[spoiler]" + s + "[/spoiler]" : "[spoiler]" + s[0] + y_arg(s.substring(1,s.length-1)) + s[s.length-1] + "[/spoiler]"; });bookmarklet(bookmarklet, "EXPERT JAVASCRIPT COMBINATOR");y_arg with which to recurse.function wrapped_bookmarklet(text) { return bookmarklet(bookmarklet, text); }