// Copyright 2016 the V8 project authors. All rights reserved.// Use of this source code is governed by a BSD-style license that can be// found in the LICENSE file.assertThrows(()=>newIntl.getCanonicalLocales('en'),TypeError);letcollator=newIntl.Collator('en');assertThrows(()=>newcollator.resolvedOptions(),TypeError);assertThrows(()=>newIntl.Collator.supportedLocalesOf('en'),TypeError);letnumberformat=newIntl.NumberFormat('en');assertThrows(()=>newnumberformat.resolvedOptions(),TypeError);assertThrows(()=>newIntl.NumberFormat.supportedLocalesOf('en'),TypeError);letdatetimeformat=newIntl.DateTimeFormat('en');assertThrows(()=>newdatetimeformat.resolvedOptions(),TypeError);assertThrows(()=>newdatetimeformat.formatToParts(newDate()),TypeError);assertThrows(()=>newIntl.DateTimeFormat.supportedLocalesOf('en'),TypeError);assertThrows(()=>new"".localCompare(""),TypeError);assertThrows(()=>new"".normalize(),TypeError);assertThrows(()=>new"".toLocaleLowerCase(),TypeError);assertThrows(()=>new"".toLocaleUpperCase(),TypeError);assertThrows(()=>new"".toLowerCase(),TypeError);assertThrows(()=>new"".toUpperCase(),TypeError);assertThrows(()=>new3..toLocaleString(),TypeError);assertThrows(()=>new(newDate()).toLocaleString(),TypeError);assertThrows(()=>new(newDate()).toLocaleDateString(),TypeError);assertThrows(()=>new(newDate()).toLocaleTimeString(),TypeError);