Converting C#?

Hello. I want to set up something like this (fifth post down), where I create a class to simulate having a multi-dimensional array that can be edited through the inspector. The only problem is, I have no C# knowledge and I was wondering if someone would convert that code to javascript? Thanks (yes, I know i need to learn C#).

This kind of stuff is actually virtually the same in Javascript. While I wouldn’t know how to do anything complex (operator overloading, nice intergration stuff), the basics are easy.

class TransformArray
{
     var arr : Transform[] = new Transform[3];
}

var multiDimArray : TransformArray[] = new TransformArray[3];