11#JavaScript-snippets
22> Click:star : if you like the project. Pull Request are highly appreciated. Follow us[ Facebook] ( https://www.facebook.com/snippetsJS ) on Facebook.
3- <img src="Logo.png" alt="JS snippets logo">
4-
5-
63
74###Table of Contents
85| No.| Questions|
96|---- | ---------
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 ) |
7+ | 1| [ Generate a random number in a given range ] ( #How-to-generate-a-random-number-in-a-given-range ) |
8+ | 2| [ Find the difference between two arrays ] ( #How-to-find-the-difference-between-two-arrays ) |
129
1310
1411** [ ⬆ Back to Top] ( #table-of-contents ) **
@@ -31,8 +28,8 @@ const getRandomNumberInclusive =(min, max)=> {
3128getRandomNumberInclusive (2 ,10 );
3229```
3330
34- # How tofind the difference between two arrays.
35-
31+ ** [ ⬆ Back toTop ] ( #table-of-contents ) **
32+ ### How to find the difference between two arrays
3633
3734``` javascript
3835const firstArr = [5 ,2 ,1 ];