[Edge]。→、
Object のコンストラクターを返します。
コンストラクター。
Dat=new Object(); D=Dat.constructor; //=[function]:function Object() { [native code] } Dat={ }; D=Dat.constructor; //=[function]:function Object() { [native code] }
function Test(p1){ this.prop1=p1; alert("テスト"); } Dat=new Test("abc"); //表示:「テスト」。 D=Dat.constructor; //=[function]:function Test(p1){ this.prop1=p1; alert("テスト"); } //↑実際は空白類文字を含みます。