結果 : javascript throw error vs return error