Debian Codegraph @

js/src/tests/non262/Intl/NumberFormat/options-emulate-undefined.js

raw
1 // |reftest| skip-if(!this.hasOwnProperty("Intl"))
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5
6 // createIsHTMLDDA is only available when running tests in the shell,
7 // not the browser
8 if (typeof createIsHTMLDDA === "function") {
9 let nf = new Intl.NumberFormat('en-US', createIsHTMLDDA());
10 }
11
12 if (typeof reportCompare === "function")
13 reportCompare(true, true);