Trying to get exact keys based on the given value in the nested object - Javascript (using recursion)

后端 未结 0 2018
Happy的楠姐
Happy的楠姐 2021-01-24 15:54

I have an object with nested objects like:

let menu = {
    vegetarian: {
        vegStarter: {
            plainPizza: 100,
            cheesePizza: 200,
                


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题