Js Array Object Indexof String Method To Remove