Skip to content

Comment on A Javascript journey with only six charactersparent

Comments

It does, see the "fill" step: «So now we have acquired the following extra characters: c,o,v,(,),{,[,],}, .».

Those characters are only inside a string, not as executable code.

But you can execute strings...as it says in the article.

Yes, but not at that point in the article yet...

Good catch. It seems that the "Object" string doesn't provide any crucial characters for further steps; in this case the literal curly brackets aren't needed.

AboutSource Built by g1lg1l

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