aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/intl402/ch10/10.3/10.3.2_1_a_L15.js
blob: 3d49601db80229c3b0dea6711ac5bf0c2ab4cf34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2012 Mozilla Corporation. All rights reserved.
// This code is governed by the license found in the LICENSE file.

/**
 * @description Tests that the function returned by Intl.Collator.prototype.compare
 *     meets the requirements for built-in objects defined by the introduction of
 *     chapter 15 of the ECMAScript Language Specification.
 * @author Norbert Lindenberg
 */

$INCLUDE("testBuiltInObject.js");

testBuiltInObject(new Intl.Collator().compare, true, false, [], 2);