4 ms·
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.
by JelteF 10y ago
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.
- kukx 10y agoIt does, see the "fill" step: «So now we have acquired the following extra characters: c,o,v,(,),{,[,],}, .».
- JelteF 10y agoThose characters are only inside a string, not as executable code.
- softawre 10y agoBut you can execute strings...as it says in the article.
- JelteF 10y agoYes, but not at that point in the article yet...
- kukx 10y agoGood 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 agoYou'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!