summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Date/prototype/S15.9.5_A16_T1.js
blob: 7f9de5c682a8c7ab34de47f91a24911d63bfd755 (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 "getDay"
esid: sec-properties-of-the-date-prototype-object
description: The Date.prototype has the property "getDay"
---*/
assert.sameValue(
  Date.prototype.hasOwnProperty("getDay"),
  true,
  'Date.prototype.hasOwnProperty("getDay") must return true'
);

reportCompare(0, 0);