docs: function joinPath(path, ...allname) {
  	let name = allname.shift();
  	path = path.replace(/([/\\]+)/g, '/').split('/');
  	name = name.replace(/([/\\]+)/g, '/').split('/');
  	if (!name[0]) {
  		path = [];
  	}
  	while (name.length) {
  		let p = name.shift();
  		if (p === '..') {
  			path.pop();
  		} else if (p !== '.') {
  			path.push(p);
  		}
  	}
  	path = path.join("/");
  	return allname.length ? joinPath(path, ...allname) : path;
  }