8035312: Various array and ScriptObject length issues for non writable length fields
Reviewed-by: hannesw, attila
PRINT_ARRAY CALLED: length = 3
INDEXED
0:1
1:2
2:3
3:undefined
4:undefined
5:undefined
6:undefined
7:undefined
8:8
9:undefined
10:undefined
11:undefined
12:undefined
KEYS
0;1
1;2
2;3
8;8
element[8]: 9 8
Resetting length
element[8]: 3 undefined
PRINT_ARRAY CALLED: length = 3
INDEXED
0:1
1:2
2:3
3:undefined
4:undefined
5:undefined
6:undefined
7:undefined
8:undefined
9:undefined
10:undefined
11:undefined
12:undefined
KEYS
0;1
1;2
2;3