English
Open in Telegram

Post CHALLENGE

12 October 2026
J
JavaScript
CHALLENGE const arr = [1, [2, 3], [4, [5, 6]]]; const a = arr.flat(); const b = arr.flat(Infinity); const c = arr.flatMap(x => Array.isArray(x) ? x : [x, x]); console.log(a, b, c);
533 ·

Nearby in the feed

JJavaScriptCHALLENGE const output = []; output.push(typeof foo); try { output.push(typeof bar); } catch (e) { output.push(e.message); } var foo = () => 'foo'; let bar = ()JJavaScriptPoll
this message
JJavaScriptPollJJavaScriptCHALLENGE function* inner() { const x = yield 1; yield x + 1; return 100; } function* outer() { const result = yield* inner(); yield result; } const g = outer()
JJavaScriptJavaScript@javascript · channel · Tech
30 984subscribers1 202average 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