Contact: aviboots(AT)netvision.net.il
39,009 questions
50,723 answers
573 users
let array = [1, 3, null, "node.js", "", undefined, 9, , , undefined, 0, , 8, 4.08, 90]; array = array.filter(Number) console.log(array); /* [ 1, 3, 9, 8, 4.08, 90 ] */