blob: ba9a755568057ca8ab2a10a0219786703ca67c9a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright 2013 Mozilla Corporation. All rights reserved.
// This code is governed by the license found in the LICENSE file.
/*---
es5id: 13.2.1_4_2
description: >
Tests that Number.prototype.toLocaleString uses the standard
built-in Intl.NumberFormat constructor.
author: Norbert Lindenberg
includes: [testIntl.js]
---*/
taintDataProperty(Intl, "NumberFormat");
(0.0).toLocaleString();
reportCompare(0, 0);
|