HN Hall of Fame Weekly email

JSFuck (2012)

Screenshot of www.jsfuck.com captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 7 calendar years, with breakout response in 3 of them.

submissions
7
submitters
7
observed span
2012–2026
peak thread · 156 comments
364 pts
latest 20+ return · 2021-09-26
364 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

I probably deserve to get downvoted to oblivion for this but... I've deployed JSFuck in production! We wanted to obfuscate this bit of code, to make life just a little bit harder for reverse engineers. We made this huge function where we pretty much passed in all our application state, and it would run this JSFuck code, and spit out a token. We even made a few tweaks to the code so that you couldn't just reverse it back into…

ollyfg·364-point thread·

I saw a very cool security talk a few years ago about how you can use the browser to do all kinds of evil things (did you know that the Same Origin Policy does not prevent you from making the request, but just seeing the response? And even then, you can guess at what kind of response you got). One of the great points in the talk was JS obfuscation. Now, there are many techniques for doing this, but I…

For those wondering how you get numbers, strings and other primitives from a whole bunch of empty arrays and objects in JavaScript, here's what happens when you do arithmetic and other operations on arrays and objects: > [] + [] "" (An empty string) > {} + [] 0 (The number zero) > [] + {} "[object Object]" (.toString() called on a plain object). > ![] false (!{} is the same) > !![] true (not false) > +[] 0 (the…

Can it be proven that you cant do it in five?

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
3

100+ points or 50+ comments

Total points
658

reference only — not used in Hall rules or ranking

Total comments
266

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2012-08-23JSFuck []()+ Use only 6 characters to write any JavaScriptaemkei101
2013-09-13JSFuck – Write any JavaScript with 6 Characters: []()!+First breakoutlukashed15771
2015-05-03JSFuck – esoteric JavaScriptBenjaminRH11838
2020-04-20JSFuck: Write any JavaScript with 6 Characters: []() +matthberg40
2021-09-26JSFuck (2012)Hall induction · Best thread · Latest 20+ point returntomrod364156
2023-12-31JSFuck – Write any JavaScript with 6 Characters: []() +guytv30
2026-02-19JSFuck - Write any JavaScript with 6 Characters: []()!+gurjeet20