結果 : javascript define type of function parameter