English
Open in Telegram

Post CHALLENGE

7 September 2026
J
JavaScript
CHALLENGE class Timer { #ticks = 0; tick = () => { this.#ticks++; return this.#ticks; }; reset() { this.#ticks = 0; return this.#ticks; } } const t = new Timer(); const { tick, reset } = t; let result; try { result = reset(); } catch (e) { result = e.constructor.name; } console.log(tick(), tick(), result);
1 · 2.4K ·

Nearby in the feed

JJavaScriptPollJJavaScript⛽️ Drydock: Diff Your npm Tarballs Before You Publish From a Preact core team member comes a tool to diff built npm tarballs against the last published version,
this message
JJavaScriptPollJJavaScript👀 htmx 4.0 has landed, the first major release in two years, with lots of changes. It remains a neat way to add interactivity to server-rendered pages without r
JJavaScriptJavaScript@javascript · channel · Tech
30 984subscribers1 565average post reach
Venue feed Open in Telegram

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count