I can't find this answer anywhere. I am learning javascript on myself so I guess this is basic.
I want to assign a variable "count" as the subscript of an array.
var firstnumber = 200;
var count = 1;
var a;
a[count] = firstnumber;
therefore to achieve the result as a[count] = 200
is there anyway to do this?