function h(tag, props, ...children) {
			props = props || {};
			tag = tag.replace(/([.#])([^.#]+)/g, (s, g, i) => ((props[g == '.' ? 'className' : 'id'] = i), ''));
			const el = Object.assign(doc.createElement(tag), props);
			el.append(...children);
			return el;
		}
@param {string} tag
@param {Record<string, any> | null} props
@param {any[]} children
@returns {HTMLElement}