Javascript - List

I am trying to find a List like function for Javascript, but to no avail.
I need to be able to create a custom list like List. I know you can do it in C# but I need it in Javascript.

Hopefully there is something similar.
Thanks

I think you are looking for this…?

Greetz, Ky.

If you are speaking of C# then “List” is not a function but a collection. In JS you can use Array which serves the same purpose (for instance you can push and pop elements dynamically), although it does provide the same amount possibilities.

Huh? What? I have no problem using lists in uJS. Is this a recent thing, then?

import System.Collections.Generic;

public var myList : List.<TYPE>; // Insert TYPE

This might help: http://www.w3schools.com/js/js_obj_array.asp