I want to create a table and put on it all the param which are not empty in param like this
http://localhost:5002/5u3k0HRYqYEyToBB53m1=Test2@test.fr&m2=test3@test.com&m3=&m4=&m5=&m6=&m7=&m8=&m9=test6@test.com&m10=&m11=test10@test.com&m12=&m13=&m14=&m15=&m16=&m17=&m18=&m19=&v=4.1.2&hw=6
And after this i want to store all the email ( m1,m2,m9,m11 ) in a table.
console.log(b) // test2@test.fr , test3@test.com , test10@test.com , test6@test.com
So I did it like this
let emailTable = [req.query.m0,req.query.m1,req.query.m2......]
Box.push({Email:emailTable}}
console.log(Box)// it show me even the empty param, i want only the full one