summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/intl402/ch13/13.2/13.2.1_4_2.js
blob: a79cfffde7826ca1a308a62d26409241ef10f7a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2013 Mozilla Corporation. All rights reserved.
// This code is governed by the license found in the LICENSE file.

/**
 * @description Tests that Number.prototype.toLocaleString uses the standard
 *     built-in Intl.NumberFormat constructor.
 * @author Norbert Lindenberg
 */

$INCLUDE("testIntl.js");

taintDataProperty(Intl, "NumberFormat");
(0.0).toLocaleString();