Array Exception

I am trying to get better acquainted with arrays but am having an issue with this code:

var obj1 : GameObject;
var obj2 : GameObject;
var obj3 : GameObject;

var objs = new Array();

function Start() { 

    var objs = new Array(obj1,obj2,obj3);

    yield;
    for (var i=0; objs.length; i++){
        objs*.gameObject.active = false;*
 *print ("removed " + i);*
 *}*
*}*
*```*
*<p>The objects are being made inactive correctly, but I am getting this exception:*
*"ArgumentOutOfRangeException: Index is less than 0 or more than or equal to the list count."</p>*
*<p>What do I need to change to improve this code?</p>*

The for loop is wrong, it should be:

for (var i=0; i < objs.length; i++){