summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Object/prototype/valueOf/15.2.4.4-2.js
blob: 4cc743c9c83874d6d5e47a65c0c227489d12781b (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.

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

assert.sameValue(typeof Object.prototype.valueOf.call(false), "object", 'typeof Object.prototype.valueOf.call(false)');

reportCompare(0, 0);