TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

JavaScript Closure Stories part III

6 点作者 skiskilo超过 11 年前

2 条评论

actsasbuffoon超过 11 年前
If you use Array.map (or underscore's map, etc.) then you won't run into this problem. The functional programmer in me gets a little angry whenever I see a for loop in a language that supports higher order functions.
评论 #6936668 未加载
kelmop超过 11 年前
I understand first and second example, but not the third.<p>Someone care to explain? You can assign value for card but no read at the same line?<p>Once I though that I understand something but I was wrong :)
评论 #6931138 未加载