diff --git a/README.md b/README.md index d5c5ac49..8267ea16 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/index.html b/index.html index b3331bbb..a8196cb2 100644 --- a/index.html +++ b/index.html @@ -135,10 +135,9 @@

Basics

  • Number => +[]
  • String => []+[]
  • Boolean => ![]
  • -
  • Function => []["filter"]
  • - -
  • eval => []["filter"]["constructor"]( CODE )()
  • -
  • window => []["filter"]["constructor"]("return this")()
  • +
  • Function => []["flat"]
  • +
  • eval => []["flat"]["constructor"]( CODE )()
  • +
  • window => []["flat"]["constructor"]("return this")()
  • See the full list here.