Why is the following expression false
?
console.log(
[[1,2],[3,4]].includes([1,2])
)
And how can I test if an array of arrays contains a specific pair?
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
Why is the following expression false
?
console.log(
[[1,2],[3,4]].includes([1,2])
)
And how can I test if an array of arrays contains a specific pair?