-
Ludovic LANGE authored
Cf https://www.fxsitecompat.com/en-CA/docs/2017/for-each-in-loop-support-has-been-removed/ Replaced (mainly) by two kind of constructs: * When the object is clearly an array, replace with `for...of` * When in doubt, replace with `for...of Object.values(...)` In most case, surround with a test of the existence of the object, as both `Object.values(...)` and `for...of` do not like null / undefined.
a385d471