test262/test/built-ins/Date/now/15.9.4.4-0-4.js

14 lines
341 B
JavaScript

// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 15.9.4.4-0-4
description: Date.now - returns number
includes: [runTestCase.js]
---*/
function testcase() {
return typeof Date.now() === "number";
}
runTestCase(testcase);