X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Fjavascript%2FfixedExample.js;h=99d1a5e1f0e0cecfaf7e3755aecd044e5ae3480f;hb=edf8ce4e11eb0105038fcc236a2049c16b6175d2;hp=85f159d3bec21abe6345d56f0607a32f77dfe303;hpb=de2e7182cca6b34b000a09bf6d0ddcff4757db3a;p=poolifier.git diff --git a/examples/javascript/fixedExample.js b/examples/javascript/fixedExample.js index 85f159d3..99d1a5e1 100644 --- a/examples/javascript/fixedExample.js +++ b/examples/javascript/fixedExample.js @@ -23,9 +23,9 @@ for (let i = 1; i <= iterations; i++) { .then(() => { resolved++ if (resolved === iterations) { - console.info('Time taken is ' + (performance.now() - start)) - console.info('The pool was ready for ' + poolReady + ' times') - return console.info('The pool was busy for ' + poolBusy + ' times') + console.info(`Time taken is ${performance.now() - start}`) + console.info(`The pool was ready for ${poolReady} times`) + return console.info(`The pool was busy for ${poolBusy} times`) } return null })