Apply dependencies update
[benchmarks-js.git] / promise-handling.js
index 002be6d429392264772e61aff6f617bebee0c277..b07b33d835583ae15f6edf8fd26b6cbc437953eb 100644 (file)
@@ -13,7 +13,7 @@ function promise () {
  *
  */
 async function asyncFunction () {
-  await promise()
+  return await promise()
 }
 
 Benchmark.suite(