Where is the missing semicolon?

I just need to get the objects with the “Gravity” tag.
Here is the error:
Assets/Scripts/PlanetGravity.js(11,24): UCE0001: ';' expected. Insert a semicolon at the end.

Here is the line:
var gravObjects[] = GameObject.FindGameObjectsWithTag ("Gravity");
I have it at the end. Where else would I need a semicolon?

Not quite valid syntax:

var gravObjects[] = ...

Types in UnityScript look more like this:

var gravObjects : GameObject[] = ...

Either of the following should work, if there are no errors elsewhere in the script:

var gravObjects = GameObject.FindGameObjectsWithTag ("Gravity"); #duck typing

var gravObjects : GameObject[] = GameObject.FindGameObjectsWithTag ("Gravity");