4 ms·
How would you copy it then? I have tried the npm deep-copy library, but that didn't work (Symbol.Iterator isn't enumerable for example) edit: I just thought, I
by antrion 10y ago
How would you copy it then? I have tried the npm deep-copy library, but that didn't work (Symbol.Iterator isn't enumerable for example)
edit: I just thought, I could make a function, bind that to a variable and regen the generator again and again
- detaro 10y agoif you can easily create a new instance, that's the way to go.