結果 : how to pass arraylist as parameter in javascript function