Exemplo n.º 1
0
 static ArrayObject GetChildren(FunctionObject func, CommonObject that)
 {
     var children = that.CastTo<CommandObject>().Children;
     var array = new ArrayObject(func.Env, (uint)children.Count);
     for (int i = 0; i < children.Count; i++)
         array.Put(i, BoxingUtils.JsBox(children[i]));
     return array;
 }