Is there any way in Javascript to instantly access an object value with a specific depth? 

There is an example:

```
{
  "level": {
    "value": "one",
    "level": {
      "value": "two",
      "level": {
        "value": "three",
        "level": {
          "value": "four",
          "level": {
            "value": "five"
          }
        }
      }
    }
  }
}

```

I can do that with recursion. Check the first object value `level` and if it exists then go to the next and when depth is what I need, I need to stop. And if depth is not reached and the next `level` value does not exist, then raise some error.

Maybe there is some other way and approach to doing that?