Javascript
How would you code a custom reduce() function in JavaScript to aggregate values in an array using a callback?
Frontend Engineer
Tech Mahindra
Chewy
Obsidian Entertainment
Square Enix
Deep Silver
Rare
Interview question asked to Frontend Engineers interviewing at SurveyMonkey, Rare, NEXON and others: How would you code a custom reduce() function in JavaScript to aggregate values in an array using a callback?.