結果 : how to pass array parameter in javascript function