mirror of
https://github.com/nodejs/node.git
synced 2025-05-15 08:02:06 +00:00

PR-URL: https://github.com/nodejs/node/pull/28016 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Refael Ackermann (רפאל פלחי) <refack@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
45 lines
1.5 KiB
JavaScript
45 lines
1.5 KiB
JavaScript
// Copyright 2019 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.
|
|
function NewIntlCollator() {
|
|
let obj = new Intl.Collator();
|
|
}
|
|
createSuite('NewIntlCollator', 100, NewIntlCollator, ()=>{});
|
|
|
|
function NewIntlDateTimeFormat() {
|
|
let obj = new Intl.DateTimeFormat();
|
|
}
|
|
createSuite('NewIntlDateTimeFormat', 100, NewIntlDateTimeFormat, ()=>{});
|
|
|
|
function NewIntlNumberFormat() {
|
|
let obj = new Intl.NumberFormat();
|
|
}
|
|
createSuite('NewIntlNumberFormat', 100, NewIntlNumberFormat, ()=>{});
|
|
|
|
function NewIntlPluralRules() {
|
|
let obj = new Intl.PluralRules();
|
|
}
|
|
createSuite('NewIntlPluralRules', 100, NewIntlPluralRules, ()=>{});
|
|
|
|
function NewIntlListFormat() {
|
|
let obj = new Intl.ListFormat();
|
|
}
|
|
createSuite('NewIntlListFormat', 100, NewIntlListFormat, ()=>{});
|
|
|
|
function NewIntlRelativeTimeFormat() {
|
|
let obj = new Intl.RelativeTimeFormat();
|
|
}
|
|
createSuite('NewIntlRelativeTimeFormat', 100, NewIntlRelativeTimeFormat, ()=>{});
|
|
|
|
function NewIntlLocaleWithOptions() {
|
|
let obj = new Intl.Locale("en-Latn-US-u-nu-thai",
|
|
{ language: "zh", region: "TW", script: "Hant", calendar: "roc", collation: "zhuyin",
|
|
hourCycle: "h11", caseFirst: "upper", numberingSystem: "hanidec"});
|
|
}
|
|
createSuite('NewIntlLocaleWithOptions', 100, NewIntlLocaleWithOptions, ()=>{});
|
|
|
|
function NewIntlLocale() {
|
|
let obj = new Intl.Locale("zh");
|
|
}
|
|
createSuite('NewIntlLocale', 100, NewIntlLocale, ()=>{});
|