X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=empty-array.mjs;h=3c46e35ddbfc664210da5fa370b0e3fd9faa595a;hb=d5e771770eb1719ee2bbd068f720bfb60f1c0a1e;hp=e53bfcc3f20e2cb8a801940c738d0d0b310e54e1;hpb=48f5216deed3bc4d9a64e81822fe8d6bd5c5cdcd;p=benchmarks-js.git diff --git a/empty-array.mjs b/empty-array.mjs index e53bfcc..3c46e35 100644 --- a/empty-array.mjs +++ b/empty-array.mjs @@ -30,6 +30,4 @@ Benchmark.suite( Benchmark.save({ file: 'empty-array', format: 'json', details: true }), Benchmark.save({ file: 'empty-array', format: 'chart.html', details: true }), Benchmark.save({ file: 'empty-array', format: 'table.html', details: true }) -).catch((err) => { - console.error(err) -}) +).catch(console.error)