ch
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

显示更多

📈 Telegram 频道 JavaScript 的分析概览

频道 JavaScript (@javascript) 英语 语言赛道中的 是活跃参与者。目前社区聚集了 31 443 名订阅者,在 技术与应用 类别中位列第 4 382,并在 印度 地区排名第 13 579

📊 受众指标与增长动态

невідомо 创建以来,项目保持高速增长,吸引了 31 443 名订阅者。

根据 12 六月, 2026 的最新数据,频道保持稳定运转。过去 30 天订阅人数变化为 -211,过去 24 小时变化为 -26,整体触达仍然可观。

  • 认证状态: 未认证
  • 互动率 (ER): 平均受众互动率为 6.22%。内容发布后 24 小时内通常能获得 2.53% 的反应,占订阅者总量。
  • 帖子覆盖: 每篇帖子平均可获得 1 955 次浏览,首日通常累积 794 次浏览。
  • 互动与反馈: 受众积极参与,单帖平均反应数为 7
  • 主题关注点: 内容集中在 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

凭借高频更新(最新数据采集于 13 六月, 2026),频道始终保持新鲜度与高覆盖。分析显示受众积极互动,使其成为 技术与应用 类别中的关键影响点。

31 443
订阅者
-2624 小时
-807
-21130
帖子存档
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'));