In my node.js 6.10 app, I am trying to identify in my array looks like this: This nesting can go onto n level, and can have elements in arrays at any level. How can I do this? Thanks P.S. I know I can do it using a n level for loop, but was wondering about a more optimized solution. Answer
Tag: multidimensional-array
numpy-like package for node [closed]
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 1 year ago. The community reviewed whether to reopen this question 12 days ago and left it closed: Original close reason(s) were not resolved Improve this question
Get column from a two dimensional array
How can I retrieve a column from a 2-dimensional array and not a single entry? I’m doing this because I want to search for a string in one of the columns only so if there is another way to accomplish this please tell me. I’m using the array defined this way: At the end the size of this array is