RE: Promise<void> or Promise<undefined>?, was Re: RfC: pre-LC version of Screen Orientation; deadline August 18

From: Domenic Denicola

> I don't think it makes any difference. From the engine's perspective, resolve() and resolve(undefined) are indistinguishable.

More to your point, the question is, do you have to do "resolve p with `undefined`", or should we just let "resolve p" be shorthand for that? I think I am in favor of explicitness, but not strongly.

Received on Thursday, 14 August 2014 20:49:18 UTC