code: function getPath (obj, ks) {
        ks = typeof ks == "string" ? keysFromPath(ks) : ks;
  
        var i = -1, length = ks.length;
  
        // If the obj is null or undefined we have to break as
        // a TypeError will result trying to access any property
        // Otherwise keep incrementally access the next property in
        // ks until complete
        while (++i < length && obj != null) {
          obj = obj[ks[i]];
        }
        return i === length ? obj : void 0;
      }
docs: Gets the value at any depth in a nested object based on the path described by the keys given. Keys may be given as an array or as a dot-separated string.