Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. Alphabet
  2.  
  3. Many alphabets could do the job, but just for fun, I tried to keep it as small as possible, using only the following characters:
  4.  
  5. [ and ] to access array elements, objects properties, get numbers and cast elements to strings.
  6. ( and ) to call functions and avoid parsing errors.
  7. + to append strings, sum and cast elements to numbers.
  8. ! to cast elements to booleans.
  9. { and } to get NaN and the infamous string "[object Object]"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement