Ryex / ic10emu

A Stationeers IC10 code editor and emulator
https://ic10emu.dev/
Apache License 2.0
4 stars 2 forks source link

switch `forEach()` to `for...of` loop to fix firefox #2

Closed ComputerDruid closed 3 months ago

ComputerDruid commented 3 months ago

Iterator.prototype.forEach() is apparently still experimental; "recommended for implementation" by browser vendors but not yet implemented in Firefox (at least as of Firefox 124): https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Iterator/forEach#browser_compatibility

Fixes #1