You can use the arrayObject.filter() method to remove elements from an array at specific index in JavaScript.
var rValue = 'three'
var arrayItems = ['one', 'two', 'three', 'four', 'five', 'six']
arrayItems = arrayItems.filter(item => item !== rValue)
console.log(arrayItems)