I need to add multiple arrays together depending on user's preference some array might appear empty, how do I make sure the array I'm about to concat is not empty
here is my failed code
const num1 = [12,67,100]
const num2 = []
const num3 = [23,191, 58]
const num4 = [23,30]
const numbers = num1.concat(`num${Math.random() * 10}`)