summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/Intl/NumberFormat/options-emulate-undefined.js
blob: ddb2d61350f72e5a8b32b76a3ed07ebc7f9aed2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// |reftest| skip-if(!this.hasOwnProperty("Intl"))
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

// createIsHTMLDDA is only available when running tests in the shell,
// not the browser
if (typeof createIsHTMLDDA === "function") {
  let nf = new Intl.NumberFormat('en-US', createIsHTMLDDA());
}

if (typeof reportCompare === "function")
  reportCompare(true, true);