How can I create a script to create and then randomly select 1 of 3 spawning points?

I am trying to create a script where I can set 3 spawning points, and when I start the game, it will spawn me in one of those places. Thanks

var spawnPoints:Vector3 = new Vector3[3];

function Start(){
  spawnPoints[0]=Vector3(x,y,z);
  spawnPoints[1]=Vector3(x,y,z);
  spawnPoints[2]=Vector3(x,y,z);
}
function ChooseLocation():Vector3{
  var location:vector3 = spawnPoints[Random.Range(0,4)]
  return location;
}