summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Date/parse/S15.9.4.2_A2_T1.js
blob: d066cbbd07b0d0d5051d97d7d7af9c2bede56dfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
info: The "length" property of the "parse" is 1
esid: sec-date.parse
description: The "length" property of the "parse" is 1
---*/
assert.sameValue(Date.parse.hasOwnProperty("length"), true, 'Date.parse.hasOwnProperty("length") must return true');
assert.sameValue(Date.parse.length, 1, 'The value of Date.parse.length is expected to be 1');

reportCompare(0, 0);