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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

JavaScript is weird!

4 点作者 BrunoJo超过 11 年前
JavaScript Console:<p><pre><code> &gt; {}+[] 0 &gt; []+{} [object Object] &gt; {}+{} NaN &gt; []+[] &quot;&quot; &gt; []*[] 0 &gt; [] + 5 &quot;5&quot;</code></pre>

1 comment

ColinWright超过 11 年前
Clearly you need to see this: <a href="https://www.destroyallsoftware.com/talks/wat" rel="nofollow">https:&#x2F;&#x2F;www.destroyallsoftware.com&#x2F;talks&#x2F;wat</a><p>Submitted and discussed here:<p><a href="https://news.ycombinator.com/item?id=3515845" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=3515845</a><p><a href="https://news.ycombinator.com/item?id=6307393" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=6307393</a>