How to declare a list of lists in JS?

Hi to all!

I can’t figure it out, have tried all I could think of. Searched for an example fruitlessly… Can anybody help, please?

Many thanks and merry christmas!

Have found the answer here: Can you define a jagged Generic List in UnityScript? - Questions & Answers - Unity Discussions
Very curious quirk of JS needs a space in there…

Like this:

var mylist=[[1,2],[3,4]];
Debug.Log(mylist[0][0]);

or were you thinking of something different?