結果 : how to use for each in javascript