How can I check JavaScript arrays for empty strings?

前端 未结 16 2047
面向向阳花
面向向阳花 2020-12-15 07:26

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         


        
16条回答
提交回复
热议问题