Simplify title operator

This commit is contained in:
Jeremy Ruston
2025-03-29 14:45:35 +00:00
parent d20b02e606
commit 9453e3e2e2
+1 -5
View File
@@ -21,11 +21,7 @@ exports.title = function(source,operator,options) {
}
});
} else {
if(operator.isMultiValueOperand[0]) {
Array.prototype.push.apply(results,operator.multiValueOperands[0]);
} else {
results.push(operator.operand);
}
Array.prototype.push.apply(results,operator.multiValueOperands[0]);
}
return results;
};