aemkei / jsfuck

Write any JavaScript with 6 Characters: []()!+
jsfuck.com
Do What The F*ck You Want To Public License
8.07k stars 671 forks source link

([]["isPrototypeOf"] + "")[11] #123

Closed Andromeda606 closed 2 years ago

Andromeda606 commented 2 years ago

I don't know if anyone has said that, but this gives the result P.

([]["isPrototypeOf"] + "")[11]
hazzik commented 2 years ago

@Andromeda606 do you realize that “isPrototypeOf” requires “P” to get that word?

Andromeda606 commented 2 years ago

@Andromeda606 do you realize that “isPrototypeOf” requires “P” to get that word?

   'd':   '(undefined+"")[2]',

the same is heard here.

hazzik commented 2 years ago

the same is heard here.

No, it is completely different: “undefined” is an “atomic” construct that does not require any letters — [][[]]+[].

Andromeda606 commented 2 years ago

aynısı burada da duyuluyor.

Hayır, tamamen farklıdır: “undefined”herhangi bir harf gerektirmeyen “atomik” bir yapıdır — [][[]]+[].

I understand.