Code Sample

// TODO: sharpen axe window.onload = function() { var foo = “All work and no play makes Jack a dull boy.”; for (var j = 0; j < 25; j++) { var rnd = Math.floor(Math.random() * 9), i = -1, bar, p = document.createElement('p'); bar = foo.replace(/\s/g, function(match, k) { i++; return (i === rnd) ? '' : match; }); p.className = 'ser'; p.innerHTML = bar; document.getElementById('baz').appendChild(p); } } [/code]