Posts by user130725 • 11 points
1 post
-
1
votes1
answer1006
viewsQ: Traverse array and take empty widgets
I have this array: {data: Array(5)} data: Array(5) 0: {tag: " "} 1: {tag: "a"} 2: {tag: "b"} 3: {tag: "c"} 4: {tag: " "} length: 5 how do I go through the array and take out the empty elements? ex:…