Consider the following code:
let a = [
["10.237.77.82", "10.237.79.255"],
["10.237.78.2", "230.0.0.1"],
["10.237.78.2", "10.237.79.255"]
]
console.log(a.includes(["10.237.77.82", "10.237.79.255"]))
I was expecting the includes()
to find the Array ["10.237.77.82", "10.237.79.255"]
, why isn't it the case?
Array.prototype.includes() documentation does not seem to suggest specific elements which are "foundable" (although the examples are only with an Integer or a String)