summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Date/prototype/S15.9.5_A41_T1.js
blob: d2178a8f2f059360350c1725191520b80b48dc4c (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.

/*---
info: The Date.prototype has the property "setUTCFullYear"
esid: sec-properties-of-the-date-prototype-object
description: The Date.prototype has the property "setUTCFullYear"
---*/
assert.sameValue(
  Date.prototype.hasOwnProperty("setUTCFullYear"),
  true,
  'Date.prototype.hasOwnProperty("setUTCFullYear") must return true'
);

reportCompare(0, 0);