[Self-created] The traversal algorithm of the "nested hell" of front-end js

Welcome everyone to pay attention to my CSDN account

Welcome everyone to pay attention to my Bilibili account: Lu Miaoer's personal space-Lu Miaoer's personal homepage-Bilibili Video

 For this saas system, I will publish a series of teaching videos on csdn and Bilibili before September 2. Stay tuned! ! !

first look at the picture

Here's the problem we're trying to solve:

 Analyze the nested structure of this array

Problem solving methods and ideas

For similar types of problems, just follow the case ideas I provided and continue to cycle!

 screenshot of successful results

 

おすすめ

転載: blog.csdn.net/lbcyllqj/article/details/132385755