const a = [1, 2, '', 3] alert(a.findIndex(el => el === '') !=-1 )
a.findIndex(el => el === '') != -1
a.indexOf('') != -1
a.includes('')