mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-30 01:08:11 +00:00
For example, consider the following operation:
const instance = new Temporal.PlainDate(2000, 5, 2);
instance.until("-271821-04-19");
The spec would have us enter a loop to compute the difference between
these dates by incrementing an intermediate date one day at a time.
Instead, we can do some math to skip ahead much closer to the desired
date.
43 KiB
43 KiB