Extra semicolon???

This is my code in Js

var spectrum = float[];

function Update () {
	spectrum = AudioSource.GetOutputData(1024, 0);
}

Somehow (sorry if I am wrong), unity says to me that in the line of “var spectrum = float;” there is missing a semicolon. Do someone know how to fix this?

HI,
In Javascript array is declared this way:

var values : float;

Please check the link shared below:
http://docs.unity3d.com/ScriptReference/Array.html

GoodLuck!!