var auditorListValue = ["", "1", "2", "3", "4"];
var oldAuditGroupId = 3;
var auditorListValue = auditorListValue.filter(function (item) {
return item !== oldAuditGroupId;
});
console.log(auditorListValue);
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
</body>
</html>
I want to remove this "3" from array and push remaining data into array but it is not working. I have tried this same method for other array but it is working,but it is not working for this array.