2011-09-07 08:35:18 +02:00
|
|
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
|
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
|
2014-07-22 01:09:02 +02:00
|
|
|
/*---
|
|
|
|
info: Object constructor has length property whose value is 1
|
2014-07-25 00:41:42 +02:00
|
|
|
es5id: 15.2.3_A3
|
2014-07-22 01:09:02 +02:00
|
|
|
description: Checking Object.length
|
|
|
|
---*/
|
2021-08-12 22:28:19 +02:00
|
|
|
assert(
|
|
|
|
!!Object.hasOwnProperty("length"),
|
|
|
|
'The value of !!Object.hasOwnProperty("length") is expected to be true'
|
|
|
|
);
|
2011-09-07 08:35:18 +02:00
|
|
|
|
2021-08-12 22:28:19 +02:00
|
|
|
assert.sameValue(Object.length, 1, 'The value of Object.length is expected to be 1');
|