Explorar el Código

Removed an accessive `async`.

Eugene Lazutkin hace 3 años
padre
commit
e5e6e41267
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/fun.js

+ 1 - 1
src/fun.js

@@ -106,7 +106,7 @@ const asArray = (...fns) => {
 
 const fun = (...fns) => {
   const f = asArray(...fns);
-  let g = async value =>
+  let g = value =>
     f(value).then(results => {
       switch (results.length) {
         case 0: