aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/intl402/ch12/12.3/12.3.js
blob: 7327197bf92f48e6155fee0ed7cdd9fee998cde5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2012 Google Inc.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/**
 * @path intl402/ch12/12.3/12.3.js
 * @description Tests that Intl.NumberFormat.prototype is an intance of
 * Intl.NumberFormat.
 * @author: Roozbeh Pournader
 */

var testcase = function() {
  "use strict";

  if (!(Intl.NumberFormat.prototype instanceof Intl.NumberFormat)) {
    $ERROR("Intl.NumberFormat's prototype is not an instance of " +
      "Intl.NumberFormat");
  }
  
  return true;
}
runTestCase(testcase);