blob: bb33a2037e4073c5c479f7fe3441f50489597d25 (
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/ch13/13.3/13.3.js
* @description Tests that Intl.DateTimeFormat.prototype is an intance of
* Intl.DateTimeFormat.
* @author: Roozbeh Pournader
*/
var testcase = function() {
"use strict";
if (!(Intl.DateTimeFormat.prototype instanceof Intl.DateTimeFormat)) {
$ERROR("Intl.DateTimeFormat's prototype is not an instance of " +
"Intl.DateTimeFormat");
}
return true;
}
runTestCase(testcase);
|