refactor: null -> undefined where appropriate
[poolifier.git] / examples / javascript / fixedExample.js
index 8aab9cb7a80544f2a83f2c7f348c6b711776bfba..55ed724d1e7e5bc4f0e204b5722cf480c1b5cad5 100644 (file)
@@ -30,7 +30,7 @@ for (let i = 1; i <= iterations; i++) {
         console.info(`The pool was busy for ${poolBusy} times`)
         return pool.destroy()
       }
-      return null
+      return undefined
     })
     .catch(err => console.error(err))
 }