TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Showing impossible to understand Javascript: Obfuscated Quine

30 pointsby vshlosover 13 years ago

2 comments

dhbanesover 13 years ago
Why does it only work in Chrome?
评论 #2958967 未加载
评论 #2958865 未加载
DCoderover 13 years ago
Nice trick!<p><pre><code> var f = []['concat']; // Array.prototype.concat f()[0]; // returns the global window </code></pre> The rest of the script appears to mostly be old tricks - convert stuff to strings, combine characters in strings to compose expressions, pass them to eval...