0x00 TL;DR 因为 Lexical this 导致没有 [[Construct]] ,所以不能 new 。 0x01 详细版本 如果去查一下 ECMA spec,其实可以看到如下的解释: A function object is an object that supports the [[Call]] internal method. A constructor is an object …
0x00 TL;DR 因为 Lexical this 导致没有 [[Construct]] ,所以不能 new 。 0x01 详细版本 如果去查一下 ECMA spec,其实可以看到如下的解释: A function object is an object that supports the [[Call]] internal method. A constructor is an object …
讨论
登录后参与讨论
还没有评论,来说第一句吧。