summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Date/now/15.9.4.4-0-2.js
blob: 63799dc55a8db325d51dc49777105b536fe6cc66 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright (c) 2012 Ecma International.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: sec-date.now
description: Date.now must exist as a function taking 0 parameters
---*/

assert.sameValue(Date.now.length, 0, 'Date.now.length');

reportCompare(0, 0);