test262/test/harness/timer.js
Rick Waldron 7eef084cf5 harness test: timer.js
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00

19 lines
442 B
JavaScript

// Copyright (c) 2017 Rick Waldron. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: >
Including timer.js will expose:
setTimeout()
includes: [timer.js,fnGlobalObject.js]
---*/
var gO = fnGlobalObject();
assert(typeof setTimeout === "function");
assert(typeof gO.setTimeout === "function");
assert.sameValue(gO.setTimeout, setTimeout);
// TODO: assert semantics