index.js
function callByPath(target, path, args) {
  var fn = methodByPath(target, path);
  if (! fn) {
    return;
  }

  return fn.apply(null, args);
}
function callByPath(target, path, args) {
  var fn = methodByPath(target, path);
  if (! fn) {
    return;
  }

  return fn.apply(null, args);
}
function callByPath ( target , path , args ) { var fn = methodByPath ( target , path ) ; if ( ! fn ) { return ; } return fn . apply ( null , args ) ; }
callByPath - Call method by it's path in nested object.

@param  {*} target Nested object or anything else.
@param  {Path} path Path to nested property.
@param  {*[]} args Arguments of function call.
@return {*} Result of function call or undefined if method not exists.
callByPath - Call method by it s path in nested object .