Array:
var arr = {\'abc\',\'def\',\'ghi\'};
I want to remove above array value \'def\' by using index.
Use the splice method.
ArrayName.splice(indexValueOfArray,1);
This removes 1 item from the array starting at indexValueOfArray.
1
indexValueOfArray