code: function getByPath(target, path) {
    path = pathToArray(path);
  
    const values = breadcrumbs(target, path);
  
    return values[values.length - 1];
  }
docs: getByPath - Get value from `target` by `path`.
  
  @param  {*} target Nested object or anything else.
  @param  {Path} path Path to nested property.
  @return {*} Returns value or undefined.