f8g

2007-06-10から1日間の記事一覧

Die Hard With A Vengeance → 復讐で、頑固に残ってください。

WSCのprototype

WSCでprototypeを使う。 Array.prototype.test = "component"; function f(){ // 登録するメソッド return []; } それを呼び出す。 var wsc = WSH.CreateObject("Test.WSC"); Array.prototype.test = "wsh"; var a1 = wsc.f(); var a2 = []; WSH.Echo(a1.tes…