aemkei / jsfuck

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

edge cases #5

Closed shimondoodkin closed 11 years ago

shimondoodkin commented 11 years ago

alert("עברית") unicode possible solution is use simple escape code or sum of multiplications of numbers.

2^3 power.

maybe to compose a string them to eval it

aemkei commented 11 years ago

Unfortunately this doesn't. Had to convert it back, because the output returned the String 'String["fromCharCode"]().

jomo commented 11 years ago

hmm that's weird. it was working when i tested it with node.

aemkei commented 11 years ago

Fixed by https://github.com/aemkei/jsfuck/commit/f8feed40871298c28527b9650c18338fbd8f0c5f

shimondoodkin commented 11 years ago

the power isn't working , is it?

jomo commented 11 years ago

^ is [Bitwise XOR](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Bitwise_Operators#.5E_(Bitwise_XOR), not Power.

shimondoodkin commented 11 years ago

oh ok :)