Filters array from empty values by Alexey Zakharov March 14, 2017 JavaScript console.log(["", 1,2,3].filter(Boolean));