summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Object/prototype/valueOf/S15.2.4.4_A6.js
blob: 846c25a5d11c1e64247342fbcfaabdd523e6e74e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
info: Object.prototype.valueOf has not prototype property
es5id: 15.2.4.4_A6
description: >
    Checking if obtaining the prototype property of
    Object.prototype.valueOf fails
---*/
assert.sameValue(
  Object.prototype.valueOf.prototype,
  undefined,
  'The value of Object.prototype.valueOf.prototype is expected to equal undefined'
);

reportCompare(0, 0);