結果 : javascript check parameter type