Frontend Interview Question And Answers

Question I have an array to find the duplicate value and their Index also const arr = [10, 5, 8, 8, 5, 10, 6, 5, 2, 3] Answer…