uz
Feedback
JavaScript

JavaScript

Kanalga Telegram’da o‘tish

A resourceful newsletter featuring the latest and most important news, articles, books and updates in the world of #javascript 🚀 Don't miss our Quizzes! Let's chat: @nairihar

Ko'proq ko'rsatish

📈 Telegram kanali JavaScript analitikasi

JavaScript (@javascript) Ingliz til segmentidagi kanali faol ishtirokchi. Hozirda hamjamiyat 31 154 obunachidan iborat bo'lib, Texnologiyalar & Aralashmalar toifasida 4 167-o'rinni va Hindiston mintaqasida 12 809-o'rinni egallagan.

📊 Auditoriya ko‘rsatkichlari va dinamika

невідомо sanasidan buyon loyiha tez o‘sib, 31 154 obunachiga ega bo‘ldi.

17 Sentabr, 2026 dagi oxirgi ma’lumotlarga ko‘ra kanal barqaror faollikka ega. Oxirgi 30 kunda obunachilar soni -91 ga, so‘nggi 24 soatda esa -9 ga o‘zgardi va umumiy qamrov yuqori darajada qolmoqda.

  • Tasdiqlash holati: Tasdiqlanmagan
  • Jalb etish (ER): Auditoriya o‘rtacha 6.16% darajada jalb etiladi. Nashrdan keyingi dastlabki 24 soatda kontent odatda umumiy obunachilar sonining 2.30% ini tashkil etuvchi reaksiyalarni to‘playdi.
  • Post qamrovi: Har bir post o‘rtacha 1 920 marta ko‘riladi; birinchi sutkada odatda 718 ta ko‘rish yig‘iladi.
  • Reaksiyalar va o‘zaro ta’sir: Auditoriya faol: har bir postga o‘rtacha 5 ta reaksiya keladi.
  • Tematik yo‘nalishlar: Kontent javascript, console.log(gen.next().value, processdata, remix, acc kabi asosiy mavzularga jamlangan.

📝 Tavsif va kontent siyosati

Muallif resursni shaxsiy fikrni ifoda etish maydoni sifatida ta’riflaydi:
A resourceful newsletter featuring the latest and most important news, articles, books and updates in the world of #javascript 🚀 Don't miss our Quizzes! Let's chat: @nairihar

Yuqori yangilanish chastotasi (oxirgi ma’lumot 18 Sentabr, 2026 da olingan) sababli kanal doimo dolzarb va katta qamrovli bo‘lib qoladi. Analitika auditoriya kontent bilan faol hamkorlik qilishini, uni Texnologiyalar & Aralashmalar toifasidagi muhim ta’sir nuqtasiga aylantirishini ko‘rsatadi.

31 154
Obunachilar
-924 soatlar
-447 kun
-9130 kun
Postlar arxiv
What is the output?
Anonymous voting

CHALLENGE
async function fetchData(id) {
  if (id <= 0) throw new Error("Invalid ID");
  return { id, value: id * 10 };
}

async function process() {
  const results = await Promise.allSettled([
    fetchData(1),
    fetchData(-1),
    fetchData(3),
  ]);

  results.forEach(({ status, value, reason }) => {
    if (status === "fulfilled") {
      console.log(`✅ ${value.id}: ${value.value}`);
    } else {
      console.log(`❌ ${reason.message}`);
    }
  });
}

process();

What is the output?
Anonymous voting

CHALLENGE
const inventory = {
  warehouse: {
    shelves: [
      { id: 'A1', items: ['bolts', 'nuts', 'washers'] },
      { id: 'B2', items: ['hammers', 'wrenches'] },
    ],
    manager: { name: 'Carlos', shift: 'night' },
  },
};

const {
  warehouse: {
    shelves: [{ items: [firstItem, , thirdItem] }, { id: shelfId }],
    manager: { name, shift = 'day' },
  },
} = inventory;

console.log(`${name} | ${shift} | ${shelfId} | ${firstItem} | ${thirdItem}`);

😆
😆

What is the output?
Anonymous voting

CHALLENGE

const handler = {
  get(target, prop, receiver) {
    if (prop in target) {
      return Reflect.get(target, prop, receiver) * 2;
    }
    return `missing:${prop}`;
  },
  set(target, prop, value) {
    if (typeof value !== "number") {
      throw new TypeError("Only numbers allowed");
    }
    return Reflect.set(target, prop, value * 10);
  },
  has(target, prop) {
    return prop.startsWith("x") ? false : prop in target;
  },
};

const store = new Proxy({ xRay: 5, score: 3 }, handler);

store.level = 4;

console.log(store.xRay);
console.log(store.score);
console.log(store.level);
console.log("xRay" in store);
console.log("score" in store);
console.log(store.missing);

😂
😂

What is the output?
Anonymous voting

CHALLENGE
const inventory = [
  { name: "sword", type: "weapon", power: 85 },
  { name: "shield", type: "armor", power: 60 },
  { name: "bow", type: "weapon", power: 72 },
  { name: "helmet", type: "armor", power: 45 },
  { name: "dagger", type: "weapon", power: 91 },
];

const result = inventory
  .filter(item => item.type === "weapon")
  .map(item => ({ ...item, power: item.power * 1.1 }))
  .sort((a, b) => b.power - a.power)
  .reduce((acc, item, index) => {
    acc[index === 0 ? "best" : "rest"] ??= [];
    if (index === 0) acc.best = item.name;
    else acc.rest.push(item.name);
    return acc;
  }, {});

console.log(result.best, result.rest);

🗓 FullCalendar 7.0: A Full Sized JavaScript Calendar A Google Calendar-style experience for your own apps. Works with React,
🗓 FullCalendar 7.0: A Full Sized JavaScript Calendar A Google Calendar-style experience for your own apps. Works with React, Vue and Angular (v7.0 adds Angular 22 support), but can be used with plain JavaScript. Here’s a demo where you can play with the themes and styling approaches. MIT licensed with commercial extensions. FullCalendar LLC

😃 A developer code-golfed a signal implementation to just 33 bytes (above). I had to stare at it for a solid minute before i
😃 A developer code-golfed a signal implementation to just 33 bytes (above). I had to stare at it for a solid minute before it clicked, but mercifully, a Redditor breaks down exactly what's going on.

What is the output?
Anonymous voting

CHALLENGE
function highlight(strings, ...values) {
  return strings.reduce((result, str, i) => {
    const value = values[i - 1];
    const formatted =
      typeof value === "number"
        ? `[${value.toFixed(2)}]`
        : `<${String(value).toUpperCase()}>`;
    return result + formatted + str;
  });
}

const item = "sword";
const qty = 3;
const price = 9.5;

const output = highlight`You bought ${qty} ${item}s for $${price} each.`;
console.log(output);

😂
😂

What is the output?
Anonymous voting

CHALLENGE
const delay = (ms) => new Promise((resolve) => setTimeout(resolve, ms));

async function processQueue(items) {
  const results = [];

  await items.reduce(async (prevPromise, item) => {
    await prevPromise;
    await delay(0);
    results.push(item * 2);
  }, Promise.resolve());

  return results;
}

processQueue([1, 2, 3, 4])
  .then((data) => console.log("Result:", data))
  .catch((err) => console.log("Error:", err.message));

Promise.resolve()
  .then(() => console.log("Microtask A"))
  .then(() => console.log("Microtask B"));

💻 Desktop Apps With deno desktop Deno 2.9 (or the 'canary' build now) can turn JavaScript projects into self-contained apps
💻 Desktop Apps With deno desktop Deno 2.9 (or the 'canary' build now) can turn JavaScript projects into self-contained apps on macOS, Windows, and Linux. Unlike Electron, you can opt to use the default OS WebView or a bundled Chromium backend, plus you get cross-compilation and automatic support for apps built on frameworks like Next.js and SvelteKit. The Deno Project

What is the output?
Anonymous voting