Using arrays in inspector variables

Is it possible? With Javascript?

On 2D Platform Game Tutorial I want to make multi targets to the platform mover script rather than just one, so I figured "why not an open array?", thus this question.

You can use arrays like Transform[] and GameObject[], but I don't think there's any easy way to use Array().

var targets : Transform[];

I believe what you want can be done with UnityEditor by customizing the inspector pane, but I am posting from my mobile and can not provide you with code atm.

http://unity3d.com/support/documentation/Components/gui-ExtendingEditor.html

May be this can be of some help:

Its in c# though.