Simple MapReduce with Javascript Posted by makuchaku on Sunday May 08, 2011 @02:42AM from the makuchaku.in dept. http://www.makuchaku.in/blog/simple-mapreduce-with-javascript ( 2 comments | 4 points | on HN )
A better example would count the occurrences of the words in each line in the map, and then add up the totals in reduce.