Skip to content

Commit

Permalink
Update documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Attacktive committed May 9, 2022
1 parent 1f02651 commit 25628db
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ The following source will do an `alert(1)`:
Number => +[]
String => []+[]
Boolean => ![]
Function => []["filter"]
run => []["filter"]["constructor"]( CODE )()
eval => []["filter"]["constructor"]("return eval")()( CODE )
window => []["filter"]["constructor"]("return this")()
Function => []["flat"]
run => []["flat"]["constructor"]( CODE )()
eval => []["flat"]["constructor"]("return eval")()( CODE )
window => []["flat"]["constructor"]("return this")()

See the full list [here](https://github.com/aemkei/jsfuck/blob/master/jsfuck.js).

Expand Down
7 changes: 3 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,9 @@ <h3>Basics</h3>
<li>Number => +[]</li>
<li>String => []+[]</li>
<li>Boolean => ![]</li>
<li>Function => []["filter"]</li>

<li>eval => []["filter"]["constructor"]( CODE )()</li>
<li>window => []["filter"]["constructor"]("return this")()</li>
<li>Function => []["flat"]</li>
<li>eval => []["flat"]["constructor"]( CODE )()</li>
<li>window => []["flat"]["constructor"]("return this")()</li>
</ul>

<p>See the full list <a href="https://github.com/aemkei/jsfuck/blob/master/jsfuck.js">here</a>.</p>
Expand Down

0 comments on commit 25628db

Please sign in to comment.