Skip to content
Prev Previous commit
Next Next commit
benchmark: use const instead of var in async_hooks
  • Loading branch information
dnlup committed Feb 14, 2020
commit 425373722c56c0e80aebea6e6e9680dab3b2e0a5
2 changes: 1 addition & 1 deletion benchmark/async_hooks/async-resource-vs-destroy.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function buildCurrentResource(getServe) {
}

function init(asyncId, type, triggerAsyncId, resource) {
var cr = executionAsyncResource();
const cr = executionAsyncResource();
if (cr !== null) {
resource[cls] = cr[cls];
}
Expand Down