I have the following JavaScript array. Does anybody know of an efficient way of forming a multi-dimensional navigation menu without using a bunch of loops? I know the object could be more efficient but this is an example of how I'm receiving data from an API.I have the following JavaScript array. Does any