Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
JelteF
· 10y ago · 0 comments
The article does not explain how it gets the {}, which is used to get the Object constructor string. Other than that it's very clear.
Comments
[–]
kukx
10y ago
It does, see the "fill" step: «So now we have acquired the following extra characters: c,o,v,(,),{,[,],}, .».
[–]
JelteF
OP
10y ago
Those characters are only inside a string, not as executable code.
[–]
softawre
10y ago
But you can execute strings...as it says in the article.
[–]
JelteF
OP
10y ago
Yes, but not at that point in the article yet...
[–]
kukx
10y ago
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.
[–]
Jazcash
10y ago
You're right. It's possible to use it later on but I've removed it as it doesn't make sense being at that point in the post chronologically. Thanks!