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

📊 Auditoriya ko‘rsatkichlari va dinamika

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

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

  • Tasdiqlash holati: Tasdiqlanmagan
  • Jalb etish (ER): Auditoriya o‘rtacha 6.22% darajada jalb etiladi. Nashrdan keyingi dastlabki 24 soatda kontent odatda umumiy obunachilar sonining 2.53% ini tashkil etuvchi reaksiyalarni to‘playdi.
  • Post qamrovi: Har bir post o‘rtacha 1 955 marta ko‘riladi; birinchi sutkada odatda 794 ta ko‘rish yig‘iladi.
  • Reaksiyalar va o‘zaro ta’sir: Auditoriya faol: har bir postga o‘rtacha 7 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 13 Iyun, 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 443
Obunachilar
-2624 soatlar
-807 kunlar
-21130 kunlar
Postlar arxiv
What is the output?
Anonymous voting

CHALLENGE
class Subject {
  constructor() {
    this.observers = [];
  }
  attach(observer) {
    this.observers.push(observer);
  }
  notify(data) {
    this.observers.forEach(obs => obs.update(data));
  }
}

const subject = new Subject();
subject.attach({ update: (d) => console.log(d * 2) });
subject.attach({ update: (d) => console.log(d + 5) });
subject.notify(10);

🔵 Denial of Service and Source Code Exposure in React Server Components Security researchers have found and disclosed two additional vulnerabilities in React Server Components while attempting to exploit the patches in last week’s critical vulnerability. If you already updated for the Critical Security Vulnerability last week, you will need to update again. If you updated to 19.0.2, 19.1.3, and 19.2.2, these are incomplete and you will need to update again. December 11, 2025 by The React Team

What is the output?
Anonymous voting

CHALLENGE
const a = { x: 1 };
const b = a;
const c = { x: 1 };

b.x = 2;
const d = b;
d.x = 3;

console.log(a.x);
console.log(b.x);
console.log(c.x);
console.log(a === b);
console.log(a === c);

What is the output?
Anonymous voting

CHALLENGE
const curry = (fn) => {
  return function curried(...args) {
    if (args.length >= fn.length) {
      return fn.apply(this, args);
    }
    return (...nextArgs) => curried(...args, ...nextArgs);
  };
};

const multiply = (a, b, c) => a * b * c;
const curriedMultiply = curry(multiply);

const step1 = curriedMultiply(2);
const step2 = step1(3);
const result = step2(4);

console.log(result);

What is the output?
Anonymous voting

CHALLENGE
const x = 5;
const y = 10;

const obj = {
  x,
  y,
  z: x + y,
  calculate() {
    return this.x * this.y;
  },
  [x + y]: 'computed'
};

console.log(obj.calculate() + obj[15] + obj.z);

What is the output?
Anonymous voting

CHALLENGE
const promise1 = Promise.resolve(10);
const promise2 = promise1.then(x => x * 2);
const promise3 = promise2.then(x => {
  console.log(x);
  return x + 5;
});
const promise4 = promise2.then(x => {
  console.log(x);
  return x * 3;
});
Promise.all([promise3, promise4]).then(results => {
  console.log(results);
});

What is the output?
Anonymous voting

CHALLENGE
const map = new Map([
  ['a', 1],
  ['b', 2],
  ['c', 3]
]);

const key = { id: 'key' };
map.set(key, 4);
map.set(key, 5);

const result = [];
result.push(map.get('a'));
result.push(map.get(key));
result.push(map.size);
result.push(map.has({ id: 'key' }));

console.log(result);

🎉 JavaScript Turns 30 Years Old Back in May 1995, a 33 year old Brendan Eich built the first prototype of JavaScript in just
🎉 JavaScript Turns 30 Years Old Back in May 1995, a 33 year old Brendan Eich built the first prototype of JavaScript in just ten days, originally codenamed Mocha (and then LiveScript). On December 4, 1995, Netscape and Sun Microsystems officially announced 'JavaScript' in a press release as "an easy-to-use object scripting language designed for creating live online applications that link together objects and resources on both clients and servers." Over thirty years, JavaScript has cemented its place at the heart of the Web platform, and more broadly in desktop apps, operating systems (e.g. Windows' use of React Native), mobile apps, and even on microcontrollers.

What is the output?
Anonymous voting

CHALLENGE
class EventEmitter {
  constructor() {
    this.events = {};
  }
  
  on(event, callback) {
    this.events[event] = this.events[event] || [];
    this.events[event].push(callback);
    return this;
  }
  
  emit(event, data) {
    if (this.events[event]) {
      this.events[event].forEach(cb => cb(data));
    }
    return this;
  }
}

const emitter = new EventEmitter();
emitter.on('test', x => console.log(x * 2))
       .on('test', x => console.log(x + 5))
       .emit('test', 10);

What is the output?
Anonymous voting

CHALLENGE
let obj1 = { name: 'Sarah' };
let obj2 = { name: 'Mike' };

obj1.ref = obj2;
obj2.ref = obj1;

let weakRef = new WeakRef(obj1);
let registry = new FinalizationRegistry((value) => {
  console.log(`Cleanup: ${value}`);
});

registry.register(obj1, 'obj1-cleaned');
obj1 = null;
obj2 = null;

console.log(weakRef.deref()?.name || 'undefined');
console.log('Script completed');

What is the output?
Anonymous voting

CHALLENGE
class Logger {
  log(msg) {
    return `[LOG]: ${msg}`;
  }
}

class Formatter {
  format(text) {
    return text.toUpperCase();
  }
}

class Service {
  constructor(logger, formatter) {
    this.logger = logger;
    this.formatter = formatter;
  }
  
  process(data) {
    const formatted = this.formatter.format(data);
    return this.logger.log(formatted);
  }
}

const service = new Service(new Logger(), new Formatter());
console.log(service.process('hello world'));