Character Cache: Second Checkpoint
Character Cache: Second Checkpoint
Previous | Top | Next |
---|---|---|
Extracting Characters From Keywords | So Where Are We Now? | Tricks With Functions |
Now we have added quite a few extra letters to our encoding table:
Character | Derived from | Encoding |
---|---|---|
'0' |
(0).toString() |
+[]+[] |
'1' |
(1).toString() |
+!![]+[] |
'2' |
(1 + 1).toString() |
!![]+!![]+[] |
'3' |
(1 + 1 + 1).toString() |
!![]+!![]+!![]+[] |
'4' |
(1 + 1 + 1 + 1).toString() |
!![]+!![]+!![]+!![]+[] |
'5' |
(1 + 1 + 1 + 1 + 1).toString() |
!![]+!![]+!![]+!![]+!![]+[] |
'6' |
(1 + 1 + 1 + 1 + 1 + 1).toString() |
!![]+!![]+!![]+!![]+!![]+!![]+[] |
'7' |
(1 + 1 + 1 + 1 + 1 + 1 + 1).toString() |
!![]+!![]+!![]+!![]+!![]+!![]+!![]+[] |
'8' |
(1 + 1 + 1 + 1 + 1 + 1 + 1 + 1).toString() |
!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+[] |
'9' |
(1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1).toString() |
!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+[] |
'+' |
'1e+100'[2] |
(+(+!![]+(!![]+[])[+!![]+!![]+!![]]+(+!![])+(+[])+(+[]))+[])[!![]+!![]] |
'[' |
'[object Object]'[0] |
([]+{}+[])[+[]] |
']' |
'[object Object]'[14] |
({}+[])[+((+!![]+[])+(!![]+!![]+!![]+!![]+[]))] |
' ' |
'[object Object]'[7] |
([]+{}+[])[!![]+!![]+!![]+!![]+!![]+!![]+!![]] |
'a' |
'NaN'[1] |
(+{}+[])[+!![]] |
'b' |
'[object Object]'[2] |
([]+{}+[])[!![]+!![]] |
'c' |
'[object Object]'[5] |
([]+{}+[])[!![]+!![]+!![]+!![]+!![]] |
'd' |
'undefined'[2] |
([][+[]]+[])[!![]+!![]] |
'e' |
'true'[3] |
(!![]+[])[+!![]+!![]+!![]] |
'f' |
'false'[0] |
(![]+[])[+[]] |
'i' |
'undefined'[5] |
([][+[]]+[])[!![]+!![]+!![]+!![]+!![]] |
'j' |
'[object Object]'[3] |
([]+{}+[])[!![]+!![]+!![]] |
'l' |
'false'[2] |
(![]+[])[!![]+!![]] |
'N' |
'NaN'[0] |
(+{}+[])[+[]] |
'n' |
'undefined'[1] |
([][+[]]+[])[+!![]] |
'O' |
'[object Object]'[8] |
([]+{}+[])[!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![]] |
'o' |
'[object Object]'[1] |
([]+{}+[])[+!![]] |
'r' |
'true'[1] |
(!![]+[])[+!![]] |
's' |
'false'[3] |
(![]+[])[!![]+!![]+!![]] |
't' |
'true'[0] |
(!![]+[])[+[]] |
'u' |
'undefined'[0] |
([][+[]]+[])[+[]] |
'y' |
'Infinity'[7] |
(+(+!![]+(!![]+[])[+!![]+!![]+!![]]+(+!![])+(+[])+(+[])+(+[]))+[])[!![]+!![]+!![]+!![]+!![]+!![]+!![]] |
That’s a pretty good list, but we’re still a long way off a complete alphabet, let alone any of the graphics symbols.