Javascript – How to reach value of nested elements
I am trying to be better in js and I stuck while trying to solve this problem, "Using a for loop, to return a filtered version of the passed array such that any array nested within arr containing elem has…