X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Fjavascript%2FfixedExample.js;h=99d1a5e1f0e0cecfaf7e3755aecd044e5ae3480f;hb=8b80810a81554f0e6442dd681e68f59fdfd23312;hp=85f159d3bec21abe6345d56f0607a32f77dfe303;hpb=8ebe6c308dc1fc3202980126da043b2855d24780;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 })