I'm comparing with the two arrays and if one of the array of the element matches with the other array of the element it should return the true
var data1 = ["ram","krishna"]
var data2 = ["", "ram"]
const isInArray = dat1.includes(data2)
I used the some
but i'm getting the value of ["ram"]