結果 : how to remove object from array based on index in javascript