//var a = new Array(5);
//a[1] = "other_test";
//a[2] = "test";
//Array.prototype[3] = "works";
//(contents of a)
undefined
other_test
test
works
undefined
//a.length
5
//a.pop();
test
//(contents of a)
undefined
other_test
undefined
works
//a.length
4
//a.pop();
other_test
//(contents of a)
undefined
undefined
undefined
//a.length
3
//a.pop();
undefined
//(contents of a)
undefined
undefined
//a.length
2
//a.pop();
undefined
//(contents of a)
undefined
//a.length
1
//a.pop();
undefined
//(contents of a)
//a.length
0
//a.pop();
undefined
//(contents of a)
//a.length
0
