In certain situations, it may happen that we have undefined or generally falsy values in Array structures. For instance when reading and filling data f
undefined
data.filter(Boolean)
Is the most short and readable way to do it.