(function (){
var arrayNumber = [1, "String", 3, "Another string", 5];
function sumArray(b) {
var sum = 0;
return sum += b;
};
for (var i = 0; i < arrayNumber.length; i++) {
if (!isNaN(arrayNumber[i])) {
console.log(sumArray(arrayNumber[i]));
}
}
})();