summaryrefslogtreecommitdiff
path: root/test/built-ins/Date/prototype/S15.9.5_A06_T1.js
blob: 1c3a6f0fa27e350697edd4ef8276afdf3d67dfcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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 "toLocaleDateString"
esid: sec-properties-of-the-date-prototype-object
es5id: 15.9.5_A06_T1
description: The Date.prototype has the property "toLocaleDateString"
---*/

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