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

📊 Auditoriya ko‘rsatkichlari va dinamika

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

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

  • Tasdiqlash holati: Tasdiqlanmagan
  • Jalb etish (ER): Auditoriya o‘rtacha 6.20% 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 949 marta ko‘riladi; birinchi sutkada odatda 797 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 12 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 441
Obunachilar
+1724 soatlar
-587 kunlar
-19830 kunlar
Postlar arxiv
What is the output?
Anonymous voting

CHALLENGE

const config = {
  host: "localhost",
  port: 3000,
  db: {
    name: "mydb",
    retries: 5
  }
};

Object.freeze(config);

config.port = 9999;
config.newProp = "injected";
config.db.retries = 99;
delete config.host;

console.log(
  config.port,
  config.newProp,
  config.db.retries,
  config.host
);

👀 Fuse.js 7.3: Lightweight Fuzzy-Search Want a search feature tolerant to ambiguous input without a dedicated backend? v7.3
👀 Fuse.js 7.3: Lightweight Fuzzy-Search Want a search feature tolerant to ambiguous input without a dedicated backend? v7.3 adds per-term fuzzy matching and a static method for single string matching, while v7.4 beta adds worker-based distributed search for tackling huge datasets. A demo shows off the basics. Kiro Risk

What is the output?
Anonymous voting

CHALLENGE

const name = "Carlos";
const age = 28;
const score = 95;

const player = {
  name,
  age,
  score,
  greet() {
    return `${this.name} (${this.age}) scored ${this.score}`;
  },
  get rank() {
    return this.score >= 90 ? "Gold" : "Silver";
  }
};

const { name: playerName, rank, greet } = player;

console.log(`${playerName} | ${rank} | ${greet.call(player)}`);

In CSS is DOOMed, Niels Leenheer shows off how he implemented a version of 1993's Doom using purely CSS rendering (with the g
In CSS is DOOMed, Niels Leenheer shows off how he implemented a version of 1993's Doom using purely CSS rendering (with the game logic in JavaScript). Play it for yourself or check out the code.

What is the output?
Anonymous voting

CHALLENGE

function createUser(
  name,
  role = "viewer",
  permissions = [role],
  metadata = { createdBy: name, level: permissions.length }
) {
  return { name, role, permissions, metadata };
}

const user1 = createUser("Carlos");
const user2 = createUser("Diana", "admin", ["read", "write", "delete"]);
const user3 = createUser("Eve", "editor", undefined, { createdBy: "system", level: 99 });

console.log(user1.role, user1.permissions, user1.metadata.level);
console.log(user2.metadata.createdBy, user2.permissions.length);
console.log(user3.permissions[0], user3.metadata.level);

✌️ JSIR: A High-Level IR for JavaScript from Google Google has open sourced a new tool (JSIR) and proposed an industry-standa
✌️ JSIR: A High-Level IR for JavaScript from Google Google has open sourced a new tool (JSIR) and proposed an industry-standard IR (Intermediate Representation – if an AST tells you what the code looks like, an IR tells you what it does) for JavaScript. Already used at Google for analysis and code transformation, the underlying idea could form a foundation for a new generation of tooling. Zhixun Tan (Google)

What is the output?
Anonymous voting

CHALLENGE
function Vehicle(make, model, year) {
  this.make = make;
  this.model = model;
  this.year = year;
  this.speed = 0;
}

Vehicle.prototype.accelerate = function (amount) {
  this.speed += amount;
  return this;
};

Vehicle.prototype.describe = function () {
  return `${this.year} ${this.make} ${this.model} going ${this.speed}km/h`;
};

function ElectricVehicle(make, model, year, range) {
  Vehicle.call(this, make, model, year);
  this.range = range;
}

ElectricVehicle.prototype = Object.create(Vehicle.prototype);
ElectricVehicle.prototype.constructor = ElectricVehicle;

ElectricVehicle.prototype.describe = function () {
  return Vehicle.prototype.describe.call(this) + ` | Range: ${this.range}km`;
};

const car = new ElectricVehicle("Tesla", "Model 3", 2023, 500);
car.accelerate(60).accelerate(40);

console.log(car.describe());
console.log(car instanceof ElectricVehicle);
console.log(car instanceof Vehicle);
console.log(car.constructor === ElectricVehicle);

What is the output?
Anonymous voting

CHALLENGE

const str = "  Hello, World!  ";

const result = str
  .trim()
  .split(", ")
  .map((word, i) => {
    if (i % 2 === 0) return word.toUpperCase();
    return word.toLowerCase().replace("!", "@");
  })
  .reverse()
  .join(" | ");

console.log(result);

What is the output?
Anonymous voting

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

const p1 = delay(300, "alpha");
const p2 = Promise.reject("network error");
const p3 = delay(100, "gamma");
const p4 = Promise.reject("timeout");

Promise.allSettled([p1, p2, p3, p4]).then(results => {
  const summary = results.map(r =>
    r.status === "fulfilled"
      ? `ok:${r.value}`
      : `fail:${r.reason}`
  );
  console.log(summary.join(" | "));
});

🤔 axios Package Compromised; Malicious Versions Added a Trojan Dependency Axios is an HTTP library that gets 100M+ downloads
🤔 axios Package Compromised; Malicious Versions Added a Trojan Dependency Axios is an HTTP library that gets 100M+ downloads a week, largely due to its legacy popularity. An attacker took advantage of that to roll out a version with a malicious dependency including a remote access trojan (though Axios' codebase itself was fine). This is big, as even if you don’t use Axios, your dependencies might. Here's how to see if you're affected. Ashish Kurmi

What is the output?
Anonymous voting

CHALLENGE
function* range(start, end) {
  while (start < end) {
    yield start++;
  }
}

function* evens(iter) {
  for (const val of iter) {
    if (val % 2 === 0) yield val;
  }
}

function* take(n, iter) {
  let count = 0;
  for (const val of iter) {
    if (count++ >= n) return;
    yield val;
  }
}

function* pipeline() {
  yield* take(3, evens(range(1, 20)));
  yield* take(2, range(10, 15));
}

const result = [...pipeline()];
console.log(result);

What is the output?
Anonymous voting