Lines Matching defs:const
23 const common = require('../common');
24 const assert = require('assert');
25 const { execFile } = require('child_process');
37 const locs = process.config.variables.icu_locales.split(',');
52 const erMsg =
57 const erMsg =
63 const date0 = new Date(0);
66 const GMT = 'Etc/GMT';
69 const dtf = new Intl.DateTimeFormat(['en'], {
91 const localeString = dtf.format(date0);
95 const optsGMT = { timeZone: GMT };
99 const localeString = date0.toLocaleString(['en'], optsGMT);
104 const numberFormat = new Intl.NumberFormat(['en']).format(12345.67890);
115 const numberFormat = new Intl.NumberFormat('en-US', { style: 'percent' });
116 const resolvedOptions = numberFormat.resolvedOptions();
122 const loc = ['en-US'];
123 const opts = { maximumSignificantDigits: 4 };
124 const num = 10.001;
125 const numberFormat = new Intl.NumberFormat(loc, opts).format(num);
129 const collOpts = { sensitivity: 'base', ignorePunctuation: true };
130 const coll = new Intl.Collator(['en'], collOpts);
145 const env = { ...process.env, LC_ALL: 'ja' };
155 const env = { ...process.env, LC_ALL: 'fr@EURO' };