blob: a00c2df53061d5dafa590a4b01e0dabf3e30fdc8 (
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.1.js
* @description Tests that Intl.NumberFormat.prototype.constructor is the
* Intl.NumberFormat.
* @author: Roozbeh Pournader
*/
var testcase = function() {
"use strict";
if (Intl.NumberFormat.prototype.constructor !== Intl.NumberFormat) {
$ERROR("Intl.NumberFormat.prototype.constructor is not the same as "
+"Intl.NumberFormat");
}
return true;
}
runTestCase(testcase);
|