summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/intl402/ch11/11.3/11.3.1.js
blob: 46c7fc519388e3140a670f462a1f5fa10d94ff39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2012 Google Inc.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/**
 * @description Tests that Intl.NumberFormat.prototype.constructor is the
 * Intl.NumberFormat.
 * @author: Roozbeh Pournader
 */

if (Intl.NumberFormat.prototype.constructor !== Intl.NumberFormat) {
    $ERROR("Intl.NumberFormat.prototype.constructor is not the same as " +
          "Intl.NumberFormat");
}