cartodb-4.42/lib/build/affectedFiles/cleanArray.js
2024-04-06 05:25:13 +00:00

12 lines
210 B
JavaScript

function cleanArray (actual) {
var newArray = [];
for (var i = 0; i < actual.length; i++) {
if (actual[i]) {
newArray.push(actual[i]);
}
}
return newArray;
}
module.exports = cleanArray;