summaryrefslogtreecommitdiffstats
path: root/js/src/tests/js1_8_5/regress/regress-642247.js
blob: 318079d7277a0dc902ff5a5dba72ea2591589945 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* -*- indent-tabs-mode: nil; js-indent-level: 4 -*- */
/*
 * Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/licenses/publicdomain/
 */

if (typeof timeout == "function") {
    assertEq(typeof timeout(), "number");
    assertEq(typeof timeout(1), "undefined");
}

reportCompare(0, 0, "ok");