Excerpt from it:
<script>
$(function () {
document.write = function (evil) {
$('body').append(evil);
}
});
$(function () {
a = ["jumps", "over", "lazy", "dog"];
b = $.map(a, function (v) {
return "www." + v + ".com";
});
$.each(b, function () {
document.write(this + "<br/>");
});
i = 0;
c = $.map(b, function (v) {
return { v: v, i: ++i, m: i * 2 };
});
$.each(c, function () {
document.write(this.v + " xxx " + this.i + ' yyy ' + this.m + "<br/>");
});
});
</script>