Skip to content

Comment on Executing non-alphanumeric JavaScript without parentheses

Comments

The parentheses-less javascript dialect in the title of this HN article relies on ES6 and uses 6 characters:

    !+[]`$
The parent link above is ES5 and uses 8 characters:
    !+[](){}
The jsfuck.com ES6 dialect uses 6 characters:
    !+[]()
jsfuck was previously ES5 but they now rely on ES6isms to shorten their code.

That's a better intro, but the "point" of this article was about doing it without using parenthesis.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.