English
Open in Telegram

Post CHALLENGE

1 October 2026
J
JavaScript
CHALLENGE class Counter { #count = 0; static #instances = 0; constructor() { Counter.#instances++; } #increment() { this.#count++; } incrementAndGet() { this.#increment(); return this.#count; } static get total() { return Counter.#instances; } } class SpecialCounter extends Counter { incrementAndGet() { return super.incrementAndGet() * 2; } } const c1 = new Counter(); const c2 = new SpecialCounter(); console.log(`${c1.incrementAndGet()} ${c2.incrementAndGet()} ${Counter.total}`);
1.8K ·

Nearby in the feed

JJavaScriptCHALLENGE const message = 'a😀bc'; const codePoints = [...message]; const combined = { raw: message.length, points: codePoints.length, second: codePoints[1] }; cJJavaScriptPoll
this message
JJavaScriptPollJJavaScriptCHALLENGE const arr = [1, 2, 3]; const log = []; const result = arr.map((x, i) => { if (i === 0) arr.push(4); log.push(x); return x * 2; }); console.log(result.
JJavaScriptJavaScript@javascript · channel · Tech
30 984subscribers1 153average 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