class Counter extends HTMLElement {
get #x() { return #xValue; }
window.requestAnimationFrame(this.#render.bind(this));
this.onclick = this.#clicked.bind(this);
connectedCallback() { this.#render(); }
this.textContent = this.#x.toString();
window.customElements.define('num-counter', Counter);