Cyril Auburtin (2018-05-19T08:26:52.000Z)
cyril.auburtin at gmail.com (2018-05-19T08:43:19.421Z)
pro: I think it's quite frequent to need `Array.from({length: .. }, () => ...)` con: you can't generate dynamic data (like an array of random values) I think in the end this `Array.prototype.repeat` is not a good idea, but there should be something easier/less verbose than `Array.from({length: ..}, (_, i) => i)` maybe `Array.repeat(len, i => ..)` ? Le mer. 28 mars 2018 à 17:10, Jerry Schulteis <jdschulteis at yahoo.com> a écrit :