src/ModelWatcher.js
function objPath(obj, path) {
  if (!path) {
    return obj;
  }
  path = path.split('.');
  let i = 0;
  while (obj && i < path.length) {
    obj = obj[path[i++]];
  }
  return obj;
}
function objPath(obj, path) {
  if (!path) {
    return obj;
  }
  path = path.split('.');
  let i = 0;
  while (obj && i < path.length) {
    obj = obj[path[i++]];
  }
  return obj;
}
function objPath ( obj , path ) { if ( ! path ) { return obj ; } path = path . split ( '.' ) ; let i = 0 ; while ( obj && i < path . length ) { obj = obj [ path [ i ++ ] ] ; } return obj ; }
Retrieves a property by a dot-delimited path on a provided object.

@param obj The object to search.
@param path A dot-delimited path like 'prop1.prop2.prop3'
@returns {*}
Retrieves a property by a dot - delimited path on a provided object .