結果 : when to use anonymous functions in javascript