```js
return getPath(obj[[].shift.call(ks)], ks, defaultValue);
```