Two dimensional array search

PHOTO EMBED

Tue Jun 28 2022 23:46:22 GMT+0000 (UTC)

Saved by @Waydes #array #search

haystack.indexOf(haystack.find(arr => arr.includes(search)));
<- 2
content_copyCOPY

https://dev.to/ptable/two-dimensional-array-search-4b2g