diff --git a/benchmark.js b/benchmark.js index c9464a6..1f20cf9 100644 --- a/benchmark.js +++ b/benchmark.js @@ -5,7 +5,7 @@ const suite = new Benchmark.Suite() const stringify = require('.').configure({ deterministic: true }) // eslint-disable-next-line -const array = Array({ length: 10 }, (_, i) => i) +const array = Array.from({ length: 10 }, (_, i) => i) const obj = { array } const circ = JSON.parse(JSON.stringify(obj)) circ.o = { obj: circ, array }