X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=empty-array.mjs;h=3c46e35ddbfc664210da5fa370b0e3fd9faa595a;hb=66886d5b68333c44c1775f87481d8ad0b45ade1e;hp=12abb24b002080efea1ab068a414a16080ec5f52;hpb=95d31631e49a5a39e261745c31f526691dab5f81;p=benchmarks-js.git diff --git a/empty-array.mjs b/empty-array.mjs index 12abb24..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)