aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/ch15/15.9/15.9.5/S15.9.5_A11_T1.js
blob: 8517a7509e00e8d75e28ae1260bfc1ac06bda381 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/**
 * The Date.prototype has the property "getUTCFullYear"
 *
 * @path ch15/15.9/15.9.5/S15.9.5_A11_T1.js
 * @description The Date.prototype has the property "getUTCFullYear"
 */

if(Date.prototype.hasOwnProperty("getUTCFullYear") !== true){
  $ERROR('#1: The Date.prototype has the property "getUTCFullYear"');
}