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 291 obunachidan iborat bo'lib, Texnologiyalar & Aralashmalar toifasida 4 212-o'rinni va Hindiston mintaqasida 13 174-o'rinni egallagan.

📊 Auditoriya ko‘rsatkichlari va dinamika

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

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

  • Tasdiqlash holati: Tasdiqlanmagan
  • Jalb etish (ER): Auditoriya o‘rtacha 6.89% darajada jalb etiladi. Nashrdan keyingi dastlabki 24 soatda kontent odatda umumiy obunachilar sonining 2.39% ini tashkil etuvchi reaksiyalarni to‘playdi.
  • Post qamrovi: Har bir post o‘rtacha 2 156 marta ko‘riladi; birinchi sutkada odatda 748 ta ko‘rish yig‘iladi.
  • Reaksiyalar va o‘zaro ta’sir: Auditoriya faol: har bir postga o‘rtacha 6 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 03 Avgust, 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 291
Obunachilar
-724 soatlar
-607 kunlar
-4630 kunlar
Postlar arxiv
CHALLENGE

const curry = (fn) => {
  const arity = fn.length;
  return function curried(...args) {
    if (args.length >= arity) {
      return fn(...args);
    }
    return (...moreArgs) => curried(...args, ...moreArgs);
  };
};

const volume = (l, w, h) => l * w * h;
const curriedVolume = curry(volume);

const withLength5 = curriedVolume(5);
const withLength5Width3 = withLength5(3);

console.log(typeof withLength5);
console.log(typeof withLength5Width3);
console.log(withLength5Width3(2));
console.log(curriedVolume(5)(3)(2) === withLength5(3)(2));

What is the output?
Anonymous voting

CHALLENGE
console.log('start');

setTimeout(() => console.log('timeout 1'), 0);

Promise.resolve()
  .then(() => {
    console.log('promise 1');
    setTimeout(() => console.log('timeout 2'), 0);
  })
  .then(() => console.log('promise 2'));

setTimeout(() => console.log('timeout 3'), 0);

queueMicrotask(() => console.log('microtask'));

console.log('end');

🤖 Eve: A Next.js-Style Framework for Building Agents A new framework from Vercel that provides Next.js-esque structure for b
🤖 Eve: A Next.js-Style Framework for Building Agents A new framework from Vercel that provides Next.js-esque structure for building AI-powered agents using TypeScript and Markdown. It's quite Vercel-flavored by default, but I found you can run it entirely independently of Vercel with a few settings tweaks and your own keys. Project homepage. Vercel

What is the output?
Anonymous voting

CHALLENGE
class Pipeline {
  #value;
  #steps = [];

  constructor(value) {
    this.#value = value;
  }

  map(fn) {
    this.#steps.push({ type: 'map', fn });
    return this;
  }

  filter(fn) {
    this.#steps.push({ type: 'filter', fn });
    return this;
  }

  execute() {
    return this.#steps.reduce((acc, step) => {
      if (step.type === 'map') return acc.map(step.fn);
      if (step.type === 'filter') return acc.filter(step.fn);
      return acc;
    }, this.#value);
  }
}

const result = new Pipeline([1, 2, 3, 4, 5, 6])
  .filter(x => x % 2 === 0)
  .map(x => x ** 2)
  .filter(x => x > 10)
  .map(x => x - 1)
  .execute();

console.log(result);

🤟 Node.js 26.4 Adds Package Maps A minor release whose headline feature is the (experimental) implementation of package maps
🤟 Node.js 26.4 Adds Package Maps A minor release whose headline feature is the (experimental) implementation of package maps (which let Node resolve packages from a static JSON file rather than walking node_modules). Matteo Collina’s node:vfs subsystem also begins to make an appearance. Antoine du Hamel

CHALLENGE
function riskyOperation(value) {
  try {
    if (value === null) throw new TypeError("Null value");
    if (value < 0) throw new RangeError("Negative value");
    return value * 2;
  } catch (e) {
    if (e instanceof TypeError) {
      console.log(`TypeError: ${e.message}`);
      return -1;
    }
    console.log(`RangeError: ${e.message}`);
    return -2;
  } finally {
    console.log(`Finally: processed ${value}`);
  }
}

const results = [riskyOperation(5), riskyOperation(null), riskyOperation(-3)];
console.log(results);

😃 Wordgard: A New Rich Text Editor Library from ProseMirror's Creator With Eloquent JavaScript and ProseMirror under his bel
😃 Wordgard: A New Rich Text Editor Library from ProseMirror's Creator With Eloquent JavaScript and ProseMirror under his belt, not many people know more about JavaScript and making good editor controls than Marijn. Modular, supports collaborative editing, and thoughtfully built. Live demo and how to get started. Marijn Haverbeke

What is the output?
Anonymous voting

CHALLENGE
const compose = (...fns) => x => fns.reduceRight((acc, fn) => fn(acc), x);
const pipe = (...fns) => x => fns.reduce((acc, fn) => fn(acc), x);

const double = x => x * 2;
const addTen = x => x + 10;
const square = x => x ** 2;
const negate = x => -x;

const transform1 = compose(negate, square, addTen, double);
const transform2 = pipe(negate, square, addTen, double);

console.log(transform1(3));
console.log(transform2(3));

😮 Vite+ Beta: A Web Dev Toolchain Behind One Command Vite+ is the Vite team’s ‘unified toolchain’ that brings Vite, Vitest,
😮 Vite+ Beta: A Web Dev Toolchain Behind One Command Vite+ is the Vite team’s ‘unified toolchain’ that brings Vite, Vitest, Oxlint, and similar tools together under a single vp command, whether for running a dev server, tests, formatting, or bundling. VoidZero 💡 Vite+ was originally intended to be a commercial project to fund work on Vite and related projects, but was open sourced under the MIT license earlier this year.

What is the output?
Anonymous voting

CHALLENGE

const setA = new Set([1, 2, 3, 4, 5]);
const setB = new Set([3, 4, 5, 6, 7]);

const union = new Set([...setA, ...setB]);

const intersection = new Set([...setA].filter(x => setB.has(x)));

const differenceAB = new Set([...setA].filter(x => !setB.has(x)));

const symmetricDiff = new Set(
  [...setA, ...setB].filter(x => !(setA.has(x) && setB.has(x)))
);

console.log([...union].join(','));
console.log([...intersection].join(','));
console.log([...differenceAB].join(','));
console.log([...symmetricDiff].join(','));

What is the output?
Anonymous voting

CHALLENGE

const compose = (...fns) => x => fns.reduceRight((acc, fn) => fn(acc), x);
const pipe = (...fns) => x => fns.reduce((acc, fn) => fn(acc), x);

const double = x => x * 2;
const addTen = x => x + 10;
const square = x => x * x;
const negate = x => -x;

const transform1 = compose(negate, square, addTen, double);
const transform2 = pipe(negate, square, addTen, double);

console.log(transform1(3));
console.log(transform2(3));

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}`);