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 441 名订阅者,在 技术与应用 类别中位列第 4 377,并在 印度 地区排名第 13 573

📊 受众指标与增长动态

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

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

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

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

31 441
订阅者
+1724 小时
-587
-19830
帖子存档
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");

What is the output?
Anonymous voting

CHALLENGE

const str = "  Hello, World!  ";

const result = str
  .trim()
  .split(", ")
  .map((word, i) => {
    return i === 0
      ? word.toUpperCase()
      : word.replace(/!$/, "").split("").reverse().join("") + "?";
  })
  .join(" | ");

const [first, ...rest] = result.split(" | ");
const final = `${first} | ${rest.join(" & ")}`;

console.log(final);

What is the output?
Anonymous voting

CHALLENGE

function checkTDZ() {
  console.log(typeof undeclaredVar);

  try {
    console.log(typeof letVar);
  } catch (e) {
    console.log(`Caught: ${e.constructor.name}`);
  }

  let letVar = "initialized";

  const result = (() => {
    let x = 10;
    return function () {
      let x = x + 5;
      return x;
    };
  })();

  try {
    console.log(result());
  } catch (e) {
    console.log(`Caught: ${e.constructor.name}`);
  }
}

checkTDZ();

What is the output?
Anonymous voting

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(4)(6)(2));

👀 FluidCAD (above) is a new project bringing parametric CAD to the JavaScript world where you can write code to create/manip
👀 FluidCAD (above) is a new project bringing parametric CAD to the JavaScript world where you can write code to create/manipulate objects and see a live update of what you're making. It's built on top of OpenCascade.js, a JS/WASM port of the open source OpenCascade 3D geometry library.

What is the output?
Anonymous voting

CHALLENGE

const handler = {
  get(target, prop, receiver) {
    if (prop in target) {
      return Reflect.get(target, prop, receiver) * 2;
    }
    return `${prop} not found`;
  },
  set(target, prop, value) {
    if (typeof value !== "number") {
      throw new TypeError("Only numbers allowed");
    }
    target[prop] = value + 10;
    return true;
  },
  has(target, prop) {
    return prop.startsWith("x") ? false : prop in target;
  },
};

const obj = new Proxy({ score: 5, xp: 100 }, handler);

obj.level = 3;
console.log(obj.score);
console.log(obj.level);
console.log("xp" in obj);
console.log("score" in obj);
console.log(obj.rank);

🌲 Node Moves to Enable Temporal By Default The Temporal API, designed to modernize JavaScript’s date/time handling, reached
🌲 Node Moves to Enable Temporal By Default The Temporal API, designed to modernize JavaScript’s date/time handling, reached stage 4 last month. Node was waiting on V8 to make it enabled by default, which happened in V8 14.4, and the wheels are now in motion for an eventual release in Node 26. Richard Lau

What is the output?
Anonymous voting

CHALLENGE

const delay = (val) => Promise.resolve(val);

async function pipeline(input) {
  const result = await delay(input)
    .then((v) => v * 2)
    .then((v) => v + 10)
    .then((v) => {
      if (v > 20) throw new Error(`Too large: ${v}`);
      return v;
    })
    .catch((e) => `Caught: ${e.message}`)
    .then((v) => (typeof v === "string" ? v.toUpperCase() : v * 3));

  return result;
}

Promise.all([pipeline(4), pipeline(8)]).then(([a, b]) => {
  console.log(a);
  console.log(b);
});

What is the output?
Anonymous voting

CHALLENGE

"use strict";

function createCounter() {
  let count = 0;

  return {
    increment() { count++; },
    get value() { return count; },
    reset: function() { count = 0; }
  };
}

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

const { value, reset } = counter;
reset();

console.log(counter.value, value);

What is the output?
Anonymous voting

CHALLENGE

const config = {
  version: 1,
  settings: { theme: "dark", fontSize: 14 },
  tags: ["beta", "v1"],
};

Object.seal(config);
Object.freeze(config.settings);

config.version = 99;
config.newProp = "ignored";
delete config.tags;

config.settings.theme = "light";
config.settings.newKey = "ignored";

config.tags.push("v2");
config.tags[0] = "stable";

console.log(
  config.version,
  config.newProp,
  config.settings.theme,
  config.tags
);

What is the output?
Anonymous voting

CHALLENGE

const memoize = (fn) => {
  const cache = new Map();
  return (...args) => {
    const key = JSON.stringify(args);
    if (cache.has(key)) {
      return cache.get(key);
    }
    const result = fn(...args);
    cache.set(key, result);
    return result;
  };
};

let callCount = 0;

const expensiveMultiply = memoize((a, b) => {
  callCount++;
  return a * b;
});

console.log(expensiveMultiply(3, 4));
console.log(expensiveMultiply(3, 4));
console.log(expensiveMultiply(2, 5));
console.log(expensiveMultiply(3, 4));
console.log(`calls: ${callCount}`);

✌️ V8 Exploitation: From Libc Pwn to Browser Bugs For the past few years I've been doing pwn challenges - starting from basic
✌️ V8 Exploitation: From Libc Pwn to Browser Bugs For the past few years I've been doing pwn challenges - starting from basic stack overflows, progressing through libc heap exploitation, writing a CheatEngine clone in Rust, and prototyping an eBPF-based record-replay tool that required bypassing vDSO. I felt fairly comfortable with systems programming and userspace exploitation. But challenges like QEMU escape or browser exploitation always seemed like a different league. Something I wasn't "ready for yet." That feeling created an artificial barrier - I kept telling myself I needed more preparation before even attempting them. .... @D4RK7ET