Using `yield*` Inside a Map Function in Effectful Manner

Hi, how can i do this in effectful manner?. this doesnt work as expected, i cannot use
yield*
inside map.

const result = mixed.map(c => yield* shiftAlphaNumeric(c, Math.floor((yield* random) * alphaNumeric.length))).join('')
Was this page helpful?