Update types.md

foo.shift();
alert ( foo [0] ); // b
alert ( foo [0] ); // undefined

alert ( foo.length ); // 1