結果 : javascript set type of function parameter