diff --git a/examples/data.js b/examples/data.js index e70f0c6..33c43e1 100644 --- a/examples/data.js +++ b/examples/data.js @@ -1 +1,11 @@ -export default data = ['apple', 'banana', 'orange'].reduce((res, item) => ({...res, ...{[item]: Array(20).fill(0).map(_ => Math.floor(20 * Math.random()))}}), {}); \ No newline at end of file +export default ["apple", "banana", "orange"].reduce( + (res, item) => ({ + ...res, + ...{ + [item]: Array(20) + .fill(0) + .map((_) => Math.floor(20 * Math.random())), + }, + }), + {} +);