I have an array of arrays like this:
let arr = [
["do you ever", "have you ever", "worried"],
["another", ""],
["about"],
["the notion"],
["that"],
["did you ever"],
[""]
];
I need to remove empty strings from the nested arrays and nested arrays that became empty as a result. e.g.,
[ ["do you ever", "have you ever", "worried"],
["another"],
["about"],
["the notion"],
["that"],
["did you ever"]
];