Given an array arr and an array of indices ind, I\'d like to rearrange arr in-place to satisfy the given indices. For exa
arr
ind
I am using ind as indexes in it's own order
var arr = ["A", "B", "C", "D", "E", "F"]; var ind = [4, 0, 5, 2, 1, 3]; var obj = {} for(var i=0;i
Working Fiddle