結果 : how to declare array parameter in javascript function