code: function () {
                  var resolvedPath = '', resolvedPathStr, i, args = arguments, path, absolute = 0;
                  for (i = args.length - 1; i >= 0 && !absolute; i--) {
                      path = args[i];
                      if (typeof path !== 'string' || !path) {
                          continue;
                      }
                      resolvedPath = path + '/' + resolvedPath;
                      absolute = path.charAt(0) === '/';
                  }
                  resolvedPathStr = normalizeArray(splitPathToArray(resolvedPath), !absolute).join('/');
                  return (absolute ? '/' : '') + resolvedPathStr || '.';
              }
docs: resolve([from ...], to)
  @return {String} Resolved path.