summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Date/now/15.9.4.4-0-3.js
blob: 832541762605f064448e0bf7c270cc1d00d7b9de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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
---*/

var fun = Date.now;

assert.sameValue(typeof(fun), "function", 'typeof (fun)');

reportCompare(0, 0);