jsdiff icon indicating copy to clipboard operation
jsdiff copied to clipboard

[Firefox] Iterating over Map, Set in content script with `for of` loop throws with `TypeError: n[Symbol.iterator]().next is not a function`

Open zendive opened this issue 8 months ago • 1 comments

jsdiff.diff({}, {
    'set': new Set([0, 1]),
    'map': new Map([['a',1],['b',2]]),
});

Image

zendive avatar Apr 09 '25 06:04 zendive