cartodb-4.42/lib/build/affectedFiles/cleanArray.js

12 lines
210 B
JavaScript
Raw Normal View History

2024-04-06 13:25:13 +08:00
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;