Finding an object in a nested object array : I have an object array that looks like the image below depicts. I need to iterate through that object array and return the object where the text property is equals to a string variable that comes as a param. e.g: an object where the text property is "Book an Internal Interview", the object could be in any level of the hierarchy. 

i was trying something like this, but it just allow me to look in a specific level:

    var txt = "Book an Internal Interview";
    var obj = items[0].items[0].items.find(o => o.text === txt); 

I need something more recursive   

[![enter image description here][1]][1]


  [1]: https://i.stack.imgur.com/4wlhp.png