0

let arr1 = [1, 3]; nestedArr = [[2, 7, 3],[1, 3]]; I have tried via includes, some, find and filter built-in functions. So far, nothing is working out. I wonder how we can solve this with a concise solution.

nestedArr,icnludes(arr1) nestedArr.find(arr1) nestedArr.filter( x => x === arr1)

0 Answers0