(map, depth)
| 136909 | return result; |
| 136910 | } |
| 136911 | function entries(map, depth) { |
| 136912 | if (++depth > keys.length) return map; |
| 136913 | const array = []; |
| 136914 | for(const key in map)array.push({ |
| 136915 | key, |
| 136916 | values: entries(map[key], depth) |
| 136917 | }); |
| 136918 | return array; |
| 136919 | } |
| 136920 | return nest1; |
| 136921 | } |
| 136922 | /** |