Array containing destroyed object = Null?

In some script...

var myArray = new Array();
myArray[0] = SomeGameObject;


Inside SomeGameObject...

Destroy(gameObject);


What happens when I try to access `myArray[0]`? Do I get Null? If I tried to do anything with Null, dunno, access Transform, do I get an error?

myArray[0] is null, yes.

And trying to access any component of null will get you a null reference exception.