I'm trying to stay hip, so I've been playing with the spread operator and emojis. I noticed that when I want to filter
empty strings (''
) out the resulting "spread-ed" array, the empty strings are not being removed. Why is that?
console.log([...'