結果 : use of higher order functions in javascript