diff --git a/core/modules/filters/x-listops.js b/core/modules/filters/x-listops.js index eeda70c4a..cb8c031a2 100644 --- a/core/modules/filters/x-listops.js +++ b/core/modules/filters/x-listops.js @@ -206,7 +206,7 @@ Extended filter operators to manipulate the current list. if(operands.length > 1) { results.splice(resultsIndex,1,operands[nextOperandIndex]); } else { - results.splice(resultsIndex,1,); + results.splice(resultsIndex,1); } } else { results.push(operands[0]); @@ -232,4 +232,4 @@ Extended filter operators to manipulate the current list. return cycleValueInArray(results,operands,step); } -})(); \ No newline at end of file +})();