summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/prototype/valueOf/15.2.4.4-2.js
blob: 8a216344d42cef93ef0660760e6c72ce5d78b8ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (c) 2012 Ecma International.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
es5id: 15.2.4.4-2
description: >
    Object.prototype.valueOf - typeof
    Object.prototype.valueOf.call(false)==="object"
includes: [runTestCase.js]
---*/

function testcase() {
        return (typeof Object.prototype.valueOf.call(false)) === "object";
}
runTestCase(testcase);