const numbers =[0,1,2,3,4,5,6,7,8,9].map((x,y)=>x+y); code example
Example: 14. Write a JavaScript function to find the difference of two arrays. Test Data : console.log(difference([1, 2, 3], [100, 2, 1, 10])); ["3", "10", "100"]
_.difference([1, 2, 3, 4, 5], [5, 2, 10]);
=> [1, 3, 4]