blob: de2b758efb6c40c3e77538b8de681c18fd0f9d57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: The length property of the valueOf method is 0
es5id: 15.2.4.4_A11
description: Checking the Object.prototype.valueOf.length
---*/
assert(
!!Object.prototype.valueOf.hasOwnProperty("length"),
'The value of !!Object.prototype.valueOf.hasOwnProperty("length") is expected to be true'
);
assert.sameValue(
Object.prototype.valueOf.length,
0,
'The value of Object.prototype.valueOf.length is expected to be 0'
);
reportCompare(0, 0);
|