Ejemplo n.º 1
0
 public JSNames()
     : base()
 {
     var win = new Instance();
     win.ShareFieldsWith(this);
     SetField("this", win);
     SetField("window", win);
     SetField("Math", NewMathType());
     SetField("String", NewStringType());
     SetField("Array", NewArrayType());
     SetField("Date", NewDateType());
     SetField("Object", NewObjectType());
 }