結果 : remove an index from a list javascript