What are JavaScript's builtin strings?

前端 未结 7 573
情歌与酒
情歌与酒 2020-11-28 00:52

this question is difficult to summarize in a question title

UPDATE I created a JSFiddle that builds an obfuscated string out of your input

7条回答
  •  心在旅途
    2020-11-28 00:58

    In chrome, the expression ([]+/-/[(!!1+[])[1>>1]+(!!1+[])[1<<1^1]+(!1+[])[1|1<<1]+(!!1+[])[1^1]]) evaluates to "function test() { [native code] }", the [1^11<<1] evaluates to 23 (bitwise operators cause the variable to be truncated to 32 bits)

提交回复
热议问题