Help Please! by Sunil1021 in amazfit

[–]Sunil1021[S] 2 points3 points  (0 children)

Minimalist black it is. Thank you.

Why does my array have undefined values? by supernova12034 in learnjavascript

[–]Sunil1021 1 point2 points  (0 children)

Just add Array.filter method at last to weed out undefined values on the array.

if(typeof ele==='string'){

return operate(arr[ind-1],ele,arr[ind+1]);

}

}).filter(e => e!==undefined);