Help with Arrays - Javascript

Is there a way to load an object from an array by it’s name?

Say, I have this GameObject inside an array, named Tim.

I want to make Tim the Array[“Tim”] and load him by typing Array[“Tim”].

Is that possible in Javascript?

Bump…

No, but you can use a Dictionary.

–Eric