JavaScript
频道 @javascript
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
评分(满分 10) 5.8 评分(满分 10) 5.8 /10 系统评分 · 评分说明
- 订阅者
- 30,978
- 最近发帖
- 4 天前
资料采集于 2026-11-21 · 非实时
简介
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 上的原始简介
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
评分构成
算法 v1 · 评分说明系统基础分 5.8(1 + 维度贡献 4.81) · 最终 5.8
维度 输入 维度值 权重 贡献
内容质量 未经判官审核 (按中性值 0.5 计) · 40% 0.50 40% +1.80
安全风险 未经判官审核 (按中性值 0.5 计) · 30% 0.50 30% +1.35
受众规模 30,978 订阅者 · 12% 0.70 12% +0.76
近期活跃 最近发帖 4 天前 · 10% 1.00 10% +0.90
Telegram 认证 无认证 · 4% 0.00 4% —
官网互链 无关联工具 · 4% 0.00 4% —
近期动态
在 Telegram 查看全部😮 An Experimental 'Green Threads' Implementation for Node
James has opened a PR that adds a new, lightweight kind of worker that shares a small pool of OS threads, with each worker getting its own V8 isolate (but no Node APIs). His numbers show a thousand of them using about 1GB of memory vs 6.7GB for regular worker threads. Early days, but a promising idea that deserves feedback.
James M Snell
929 次浏览 图片/视频
[图片/视频]
2,190 次浏览
CHALLENGE
const counter = {
count: 0,
*[Symbol.iterator]() {
yield this.count++;
yield this.count++;
yield this.count++;
}
};
console.log([...counter], counter.count);
export {};
1,960 次浏览
[图片/视频]
2,000 次浏览
CHALLENGE
const obj = { a: { b: null, getC: () => 42 } };
let calls = 0;
function sideEffect() {
calls++;
return 10;
}
const result = obj.a?.b?.getC?.() ?? sideEffect();
const result2 = obj.a?.z?.getC?.() ?? sideEffect();
console.log(result, result2, calls);
1,790 次浏览