Allen Wirfs-Brock (2015-01-17T18:14:44.000Z)
On Jan 17, 2015, at 9:53 AM, Domenic Denicola wrote:

> 
> 
> On Jan 17, 2015, at 12:31, Allen Wirfs-Brock <allen at wirfs-brock.com> wrote:
>> 
>> If the enclosing function is invoked as a call expression the value of  `new.target` is null
> 
> Just curious, why null instead of undefined?

null is used to indicate no [[Prototype]], so it seem to me to be a better match for this situation.

If practice, I suspect that a truthy test will usually be applied, so it doesn't make much difference.

Alen
d at domenic.me (2015-01-28T19:29:13.714Z)
On Jan 17, 2015, at 9:53 AM, Domenic Denicola wrote:


> Just curious, why null instead of undefined?

null is used to indicate no [[Prototype]], so it seem to me to be a better match for this situation.

If practice, I suspect that a truthy test will usually be applied, so it doesn't make much difference.