JavaScript, Javascript Tips, Interview Questions, Datastrucutre, Javascript Interview.
uniqueArr; } console.log(removeDuplicateEle([1,2,3,5,3,1,9])); 10. We have group of people in the form of array and you have to group people basis upon age ? let peopleArr = [ {name: 'A', age: 10}, {name: 'B', age: 17}, {name: 'C', age: 14}, {name: 'D', age: 10}, ]; let resultObj = {}; for(let i=0;