Use functional programming techniques to write elegant JavaScript · HackerTrans