|
1 | 1 | #JavaScript-snippets
|
| 2 | +>Click:star:if you like the project. Pull Request are highly appreciated. Follow us[Facebook](https://www.facebook.com/snippetsJS) on Facebook. |
2 | 3 | <img src="Logo.png" alt="JS snippets logo">
|
3 | 4 |
|
4 |
| -#JSsnippets on Facebook |
5 | 5 |
|
6 |
| -find us on[Facebook](https://www.facebook.com/snippetsJS) |
7 | 6 |
|
| 7 | +###Table of Contents |
| 8 | +| No.| Questions| |
| 9 | +|---- | --------- |
| 10 | +|1|[What are the possible ways to create objects in JavaScript?](#How-to-generate-a-random-number-in-a-given-range)| |
| 11 | +|2|[What is prototype chain?](#what-is-prototype-chain)| |
8 | 12 |
|
9 |
| -#How to generate a random number in a given range |
10 | 13 |
|
| 14 | +**[⬆ Back to Top](#table-of-contents)** |
| 15 | +###How to generate a random number in a given range |
11 | 16 | ```javascript
|
12 | 17 | // Returns a random number(float) between min (inclusive) and max (exclusive)
|
13 | 18 |
|
|