結果 : javascript throw error in constructor