結果 : javascript call function if not undefined