Not sure where you get this from but for me `undefined[0]` clearly raises an exception:

var a = undefined; a[0]
TypeError: a is undefined