I have an javascript array that has the following values,
let arr = ["2","3","4","5","6"];
I have a second array that has three integers,
let index = [1,3,4];
How would I use JQuery (or Javascript) to use the array to get the index from arr, and add it to a new array. I want to add these strings to a new array.
indexArr = ["3","5","6"]
Thanks