First thing you dont need to apologie for been a newbie , we all were newbie at some point in our career and we still learn new thing everyday
Second you need to use filter on the second array and return a new array based on the index that you did filterd
var array1 = [39, "*", 62, "*", "*", 33.09,"*",56];
var array2 = [55, 6, 28, 32, 66, 58,15,56];
var result = array2.filter(function(x, i) {
return array1[i] !== '*';
});
console.log(result);
1
solved remove element from array compared to the second array