blob: 13c6b3d6a8db14a527bc7755bde0050bd78e665b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// 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 parseInt has the attribute ReadOnly
esid: sec-parseint-string-radix
description: Checking if varying the length property fails
includes: [propertyHelper.js]
---*/
assert.sameValue(parseInt.length, 2, 'The value of parseInt.length is 2');
verifyNotWritable(parseInt, "length", null, Infinity);
reportCompare(0, 0);
|