Snippet format update
To match the starter (for the migration)
This commit is contained in:
@ -1,4 +1,7 @@
|
||||
### randomIntegerInRange
|
||||
---
|
||||
title: randomIntegerInRange
|
||||
tags: math,utility,random,beginner
|
||||
---
|
||||
|
||||
Returns a random integer in the specified range.
|
||||
|
||||
@ -10,4 +13,4 @@ const randomIntegerInRange = (min, max) => Math.floor(Math.random() * (max - min
|
||||
|
||||
```js
|
||||
randomIntegerInRange(0, 5); // 2
|
||||
```
|
||||
```
|
||||
Reference in New Issue
Block a user