test262/test/built-ins/Date/S15.9.4_A2.js

14 lines
398 B
JavaScript

// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: The Date constructor has the property "parse"
esid: sec-date-constructor
es5id: 15.9.4_A2
description: Checking existence of the property "parse"
---*/
if(!Date.hasOwnProperty("parse")){
$ERROR('#1: The Date constructor has the property "parse"');
}