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(){
function ChooseLocation():Vector3{
  var location:vector3 = spawnPoints[Random.Range(0,4)]
  return location;