結果 : how do you pass an array to a function in javascript