I need to check if array contains at least one empty elements. If any of the one element is empty then it will return false.
Example:
var my_arr = ne
If you only care about empty strings then this will do it:
const arr = ["hi","hello","","jj"] ('' in arr) //returns false
the last line checks if an empty string was found in the array.