From c2803782e60a7baffc56dfcceb071722666a672d Mon Sep 17 00:00:00 2001 From: Wojciech Maj Date: Tue, 12 May 2020 21:01:34 +0200 Subject: [PATCH] Remove unnecessary async keyword --- src/map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map.js b/src/map.js index 5185bd2..d533b63 100644 --- a/src/map.js +++ b/src/map.js @@ -1,3 +1,3 @@ -export default async function asyncMap(arr, fn) { +export default function asyncMap(arr, fn) { return Promise.all(arr.map(fn)); } -- 2.51.2