summaryrefslogtreecommitdiff
path: root/test/intl402/12.3.1.js
blob: bc92aa2c187e508c47f3cad5068909757a5786ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2012 Google Inc.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
es5id: 12.3.1
description: >
    Tests that Intl.DateTimeFormat.prototype.constructor is the
    Intl.DateTimeFormat.
author: Roozbeh Pournader
---*/

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