結果 : javascript check if function parameter is defined