JavaScript/new.target:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
Kangkk​(留言 | 贡献)
第204行: 第204行:
typeof bar;
typeof bar;
bar.constructor;
bar.constructor;
typeof User;
User.constructor;
</syntaxhighlight>|{{consoleout|<pre>
</syntaxhighlight>|{{consoleout|<pre>
"object"
"object"
第210行: 第212行:
   console.log(this);
   console.log(this);
}
}
"function"
ƒ Function() { [native code] }
</pre>}}}}
</pre>}}}}