We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0f5ab6 commit fe6f27bCopy full SHA for fe6f27b
lib/calendar.ts
@@ -530,7 +530,7 @@ class OneObjectCache {
530
constructor(cacheToClone: OneObjectCache = undefined) {
531
this.now = globalThis.performance ? globalThis.performance.now() : Date.now();
532
if (cacheToClone !== undefined) {
533
- let i = 0; // TODO why was this originally cacheToClone.length ?
+ let i = 0;
534
for (const entry of cacheToClone.map.entries()) {
535
if (++i > OneObjectCache.MAX_CACHE_ENTRIES) break;
536
this.map.set(...entry);
0 commit comments