rem’s avatarrem’s Twitter Archive—№ 69,518

    1. Gah. Just burnt my fingers on array.filter(async f => …) and wondered why it always had 100% of the results.
  1. …in reply to @rem
    Solution: res = await Promise.all(array.map(async f => …)); return array.filter((_, i) => res[i]) Meh. Does the job.