Use this component to encode any JavaScript code using only six characters: [, ], (, ), !, and +. The result is pure and valid JavaScript code which can be run in any web browser or JavaScript engine.
[
]
(
)
!
+
This technique relies on the fact that JavaScript is a weakly typed language and can be used to obfuscate or bypass various filtering systems.
For instance, in JavaScript false is the same as ![] and true can be written as !![]
false
![]
true
!![]
Using the same approach, alert("a") is the same as alert((![]+[])[+!![]])
alert("a")
alert((![]+[])[+!![]])
You can use the demo component for a quick conversion.
. Remove unnecessary user picture in main component