X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=fibonacci.mjs;h=3929b4d01cafe311f7ee768ae8a98ee2a8d09901;hb=8165569a2ce715f6f95b87a7539553d4e33fe151;hp=700f3c0579bba560fdc39d899f388d6505c8320a;hpb=48f5216deed3bc4d9a64e81822fe8d6bd5c5cdcd;p=benchmarks-js.git diff --git a/fibonacci.mjs b/fibonacci.mjs index 700f3c0..3929b4d 100644 --- a/fibonacci.mjs +++ b/fibonacci.mjs @@ -76,6 +76,4 @@ Benchmark.suite( Benchmark.save({ file: 'fibonacci', format: 'json', details: true }), Benchmark.save({ file: 'fibonacci', format: 'chart.html', details: true }), Benchmark.save({ file: 'fibonacci', format: 'table.html', details: true }) -).catch((err) => { - console.error(err) -}) +).catch(console.error)