Js Find Index Array Of Pointers With Example