rem: object.length = set_len; 
add: object.length = set_len; 
context: function addCase( object, old_len, set_len, new_len, checkitems ) {    object.length = set_len;    testcases[testcases.length] = new TestCase( SECTION,        "array = new Array("+ old_len+"); array.length = " + set_len +        "; array.length",        new_len,        object.length );    if ( checkitems ) {    // verify that items between old and newlen are all undefined    if ( new_len < old_len ) {        var passed = true;        for ( var i = new_len; i < old_len; i++ ) {            if ( object[i] != void 0 ) {                passed = false;            }        }        testcases[testcases.length] = new TestCase( SECTION,            "verify that array items have been deleted",            true,            passed );    }    if ( new_len > old_len ) {        var passed = true;        for ( var i = old_len; i < new_len; i++ ) {            if ( object[i] != void 0 ) {                passed = false;            }        }        testcases[testcases.length] = new TestCase( SECTION,            "verify that new items are undefined",            true,            passed );    }    }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/f5797aeb2410e2259028142b87595fe71f03e531/15.4.5.2-2.js/buggy/js/tests/ecma/Array/15.4.5.2-2.js