Set Active Random GameObject from array (JavaScript)

I have an array of GameObjects. When the game starts, I want a script that will randomly choose one of the objects in the array and set it as active. This need to be in JavaScript.

Just worked it out myself.

var RanItem = 0;
var Items : GameObject[];
var Item : GameObject;

function Start () 
	RanItem = Random.Range(0,Items.length);
	Item = Items[RanItem];