fa
Feedback
JavaScript

JavaScript

رفتن به کانال در Telegram

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

نمایش بیشتر

📈 تحلیل کانال تلگرام JavaScript

کانال JavaScript (@javascript) در بخش زبانی انگلیسی بازیگری فعال است. در حال حاضر جامعه شامل 31 150 مشترک است و جایگاه 4 164 را در دسته فناوری و برنامه‌ها و رتبه 12 815 را در منطقه الهند دارد.

📊 شاخص‌های مخاطب و پویایی

از زمان ایجاد در невідомо، پروژه رشد سریعی داشته و 31 150 مشترک جذب کرده است.

بر اساس آخرین داده‌ها در تاریخ 18 سپتامبر, 2026، کانال فعالیت پایداری دارد. در ۳۰ روز گذشته تغییر اعضا برابر -99 و در ۲۴ ساعت گذشته برابر -9 بوده و همچنان دسترسی گسترده‌ای حفظ شده است.

  • وضعیت تأیید: تأیید نشده
  • نرخ تعامل (ER): میانگین تعامل مخاطب 6.21% است و در ۲۴ ساعت نخست پس از انتشار، محتوا معمولاً 2.30% واکنش نسبت به کل مشترکان کسب می‌کند.
  • دسترسی پست‌ها: هر پست به طور میانگین 1 935 بازدید دریافت می‌کند. در اولین روز معمولاً 718 بازدید جمع‌آوری می‌شود.
  • واکنش‌ها و تعامل: مخاطبان به‌طور فعال حمایت می‌کنند؛ میانگین واکنش به هر پست 5 است.
  • علایق موضوعی: محتوا بر موضوعات کلیدی مانند javascript, console.log(gen.next().value, processdata, remix, acc تمرکز دارد.

📝 توضیح و سیاست محتوایی

نویسنده این فضا را محل بیان دیدگاه‌های شخصی توصیف می‌کند:
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

به لطف به‌روزرسانی‌های پرتکرار (آخرین داده در تاریخ 19 سپتامبر, 2026)، کانال همواره به‌روز و دارای دسترسی بالاست. تحلیل‌ها نشان می‌دهد مخاطبان به‌طور فعال با محتوا تعامل دارند و آن را به نقطه اثرگذاری مهم در دسته فناوری و برنامه‌ها تبدیل کرده‌اند.

31 150
مشترکین
-924 ساعت
-407 روز
-9930 روز
آرشیو پست ها
What is the output?
Anonymous voting

CHALLENGE
class EventEmitter {
  #listeners = new WeakMap();
  #registry = new FinalizationRegistry((label) => {
    console.log(`Cleaned up: ${label}`);
  });

  subscribe(target, callback) {
    if (!this.#listeners.has(target)) {
      this.#listeners.set(target, []);
    }
    this.#listeners.get(target).push(callback);
    this.#registry.register(target, target.name ?? "unknown");
  }

  emit(target) {
    const cbs = this.#listeners.get(target);
    if (cbs) cbs.forEach(cb => cb());
  }
}

const emitter = new EventEmitter();
let obj1 = { name: "sensor" };
let obj2 = { name: "timer" };

const ws = new WeakSet([obj1, obj2]);

emitter.subscribe(obj1, () => console.log("sensor fired"));
emitter.subscribe(obj2, () => console.log("timer fired"));
emitter.subscribe(obj1, () => console.log("sensor logged"));

emitter.emit(obj1);

console.log(ws.has(obj1));
obj1 = null;
console.log(ws.has({ name: "sensor" }));

🥶 Patreon has shared the tale of its seven year migration from JavaScript to TypeScript. There's a focus on tooling choices
🥶 Patreon has shared the tale of its seven year migration from JavaScript to TypeScript. There's a focus on tooling choices that might be useful if you're making a similar shift.

What is the output?
Anonymous voting

CHALLENGE

function Vehicle(make, model, year) {
  this.make = make;
  this.model = model;
  this.year = year;
  this.describe = function () {
    return `${this.year} ${this.make} ${this.model}`;
  };
}

Vehicle.prototype.age = function (currentYear) {
  return currentYear - this.year;
};

const car = new Vehicle("Toyota", "Supra", 1998);
const bike = new Vehicle("Harley", "Sportster", 2005);

console.log(car.describe());
console.log(bike.age(2025));
console.log(car.constructor === Vehicle);
console.log(Object.getPrototypeOf(car) === Vehicle.prototype);

📈 In The 49MB Web Page, Shubham Bose expresses surprise at finding that loading a single NY Times page results in 422 networ
📈 In The 49MB Web Page, Shubham Bose expresses surprise at finding that loading a single NY Times page results in 422 network requests and 49 megabytes of data transferred. He reflects on the problems that have led to this being a common experience on news sites.

What is the output?
Anonymous voting

CHALLENGE

const p1 = new Promise((resolve) => {
  console.log("A");
  resolve("B");
});

const p2 = p1.then((val) => {
  console.log(val);
  return "C";
});

p2.then((val) => {
  console.log(val);
});

console.log("D");

✌️ Temporal: The 9-Year Journey to Fix Time in JavaScript JavaScript’s date/time handling is notoriously messy and libraries
✌️ Temporal: The 9-Year Journey to Fix Time in JavaScript JavaScript’s date/time handling is notoriously messy and libraries like Moment.js became popular as a way to work around it. In 2017, Maggie Johnson-Pint, a maintainer of Moment.js, proposed the Temporal API to fix date/time handling for good, and we’re mostly there (support is growing, with Safari and Node to catch up). Jason Williams (Bloomberg)

✌️ Temporal: The 9-Year Journey to Fix Time in JavaScript JavaScript’s date/time handling is notoriously messy and libraries
✌️ Temporal: The 9-Year Journey to Fix Time in JavaScript JavaScript’s date/time handling is notoriously messy and libraries like Moment.js became popular as a way to work around it. In 2017, Maggie Johnson-Pint, a maintainer of Moment.js, proposed the Temporal API to fix date/time handling for good, and we’re mostly there (support is growing, with Safari and Node to catch up). Jason Williams (Bloomberg)

What is the output?
Anonymous voting

CHALLENGE


class AppError extends Error {
  constructor(message, statusCode) {
    super(message);
    this.name = this.constructor.name;
    this.statusCode = statusCode;
  }
}

class ValidationError extends AppError {
  constructor(message) {
    super(message, 400);
    this.fields = [];
  }
}

function riskyOperation(value) {
  if (value === null) throw new ValidationError("Null value");
  if (value < 0) throw new AppError("Negative value", 422);
  return value * 2;
}

const results = [];

for (const val of [10, null, -5, 3]) {
  try {
    results.push(riskyOperation(val));
  } catch (e) {
    if (e instanceof ValidationError) {
      results.push(`Validation:${e.statusCode}`);
    } else if (e instanceof AppError) {
      results.push(`App:${e.statusCode}`);
    } else {
      results.push("Unknown");
    }
  }
}

console.log(results.join(" | "));

What is the output?
Anonymous voting

CHALLENGE

const p1 = new Promise((resolve) => {
  console.log("A");
  resolve("X");
});

const p2 = p1.then((val) => {
  console.log("B");
  return val + "Y";
});

const p3 = p2.then((val) => {
  console.log("C:", val);
});

console.log("D");

What is the output?
Anonymous voting

CHALLENGE
"use strict";

function createCounter() {
  let count = 0;

  return {
    increment() { count++; },
    decrement() { count--; },
    getCount() { return count; },
    reset: () => { count = 0; }
  };
}

const counter = createCounter();
counter.increment();
counter.increment();
counter.increment();
counter.decrement();

const { getCount, reset } = counter;

console.log(getCount());
reset();
console.log(counter.getCount());

What is the output?
Anonymous voting

CHALLENGE

const person = { name: "Carlos", scores: [10, 20, 30] };
const clone = { ...person };

clone.name = "Diana";
clone.scores.push(40);

const snapshot = Object.assign({}, person);
snapshot.name = "Elena";
snapshot.scores.push(50);

console.log(person.name);
console.log(person.scores.length);
console.log(clone.name);
console.log(clone.scores === person.scores);

What is the output?
Anonymous voting