Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/Array/length/S15.4.4_A1.3_T1.js

raw
1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 esid: sec-properties-of-the-array-prototype-object
6 info: Array prototype object has a length property
7 es5id: 15.4.4_A1.3_T1
8 description: Array.prototype.length === 0
9 ---*/
10
11 //CHECK#1
12 if (Array.prototype.length !== 0) {
13 $ERROR('#1.1: Array.prototype.length === 0. Actual: ' + (Array.prototype.length));
14 }