code: function(){
          var args = arrayFrom(arguments).reverse();
          var path = [];
          var absoluteFound = false;
  
          for (var i = 0; !absoluteFound && i < args.length; i++)
            if (typeof args[i] == 'string')
            {
              path.unshift(args[i]);
              absoluteFound = ABSOLUTE_RX.test(args[i]);
            }
  
          if (!absoluteFound)
            path.unshift(baseURI == '/' ? '' : baseURI);
          else if (path.length && path[0] == '/')
            path[0] = '';
  
          return utils.normalize(path.join('/'));
        }
docs: Resolves to to an absolute path.
  
  If to isn't already absolute from arguments are prepended in right
  to left order, until an absolute path is found. If after using all
  from paths still no absolute path is found, the current location is
  used as well. The resulting path is normalized, and trailing slashes
  are removed unless the path gets resolved to the root directory.
  Non-string arguments are ignored.
  
  @example
  basis.path.resolve('/foo/bar', './baz');
  // returns '/foo/bar/baz'
  
  basis.path.resolve('/foo/bar', '/demo/file/');
  // returns '/demo/file'
  
  basis.path.resolve('foo', 'bar/baz/', '../gif/image.gif');
  // if current location is /demo, it returns '/demo/foo/bar/gif/image.gif'
  
  @param {...string=} paths
  @return {string}