Format snippets
This commit is contained in:
@ -13,5 +13,6 @@ const generateItems = (n, fn) => Array.from({ length: n }, (_, i) => fn(i));
|
||||
```
|
||||
|
||||
```js
|
||||
generateItems(10, Math.random); // [0.21, 0.08, 0.40, 0.96, 0.96, 0.24, 0.19, 0.96, 0.42, 0.70]
|
||||
generateItems(10, Math.random);
|
||||
// [0.21, 0.08, 0.40, 0.96, 0.96, 0.24, 0.19, 0.96, 0.42, 0.70]
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user