当我有一个对象时:
var YayanObject = function(var1, var2, var208) {
this.var1 = var1;
this.functiony = function() {
More Functiony stuff :)
}
Do stuff :D
}
我想用 2 个变量来调用它:
var1 = "YayanObject";
var2 = [1,"2","Hello world"];
我想调用对象:
window[var1](????);
问号怎么填?