00:10 | <TabAtkins> | danke, y'all, suggesting we copy it to a more obvious place https://github.com/tc39/agendas/pull/1295 |
23:13 | <ljharb> | can anyone help me come up with values that would trigger the returns on steps 6 and 8 in https://tc39.es/ecma262/#sec-makeday ? |
23:24 | <ptomato> | step 6 would return for Date.UTC(Number.MAX_VALUE, Number.MAX_VALUE) |
23:25 | <ptomato> | step 8 is not clear about what would return and there's an issue open about it: https://github.com/tc39/ecma262/issues/1087 |
23:26 | <ptomato> | but in any case it seems likely that Date.UTC(-271821, 3, 19) ought to make step 8 return |
23:26 | <ljharb> | hm, using MAX_VALUE seems to hit step 8 but not step 6 in my impl |
23:26 | <ljharb> | (the AO only takes number values, to be clear) |
23:27 | <ljharb> | and +Date.UTC(-271821, 3, 19) returns NaN for me in Safari and node :-/ |
23:31 | <ljharb> | aha, but using MAX_VALUE for both the year and month seems to hit step 6, thanks! |