Snippet format update
To match the starter (for the migration)
This commit is contained in:
@ -1,4 +1,7 @@
|
||||
### randomIntArrayInRange
|
||||
---
|
||||
title: randomIntArrayInRange
|
||||
tags: math,utility,random,intermediate
|
||||
---
|
||||
|
||||
Returns an array of n random integers in the specified range.
|
||||
|
||||
@ -11,4 +14,4 @@ const randomIntArrayInRange = (min, max, n = 1) =>
|
||||
|
||||
```js
|
||||
randomIntArrayInRange(12, 35, 10); // [ 34, 14, 27, 17, 30, 27, 20, 26, 21, 14 ]
|
||||
```
|
||||
```
|
||||
Reference in New Issue
Block a user