This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| symbolicjs [2025/05/12 20:50] – Yuki | symbolicjs [2025/05/12 21:22] (current) – Yuki | ||
|---|---|---|---|
| Line 69: | Line 69: | ||
| </ | </ | ||
| - | Of course, a few of those are not needed, | + | Of course, a few of those are not needed, can be removed if you don't need them, and those identifiers can always be shorter. We need at least enough to spell '' |
| <code javascript> | <code javascript> | ||
| Line 77: | Line 77: | ||
| [$$$_, | [$$$_, | ||
| </ | </ | ||
| + | |||
| + | < | ||
| ===== Execute arbitrary code ===== | ===== Execute arbitrary code ===== | ||
| Line 92: | Line 94: | ||
| ===== Build more letters ===== | ===== Build more letters ===== | ||
| - | We can then use `btoa` to get a lot of the letters we're missing: | + | We can then use `btoa` to get a lot of the letters we're missing, most notably '' |
| <code javascript> | <code javascript> | ||
| Line 99: | Line 101: | ||
| <code javascript> | <code javascript> | ||
| - | [, | + | [, |
| </ | </ | ||
| + | |||
| + | < | ||
| + | It's useful to save ''" | ||
| + | </ | ||
| ===== Build the global object ===== | ===== Build the global object ===== | ||
| Line 109: | Line 115: | ||
| <code javascript> | <code javascript> | ||
| - | _=$($$_$+$$+$_+$$$_+$$_$+$_$+____$+$_+$$$$$+$$$+$$$$)() | + | _=$(_+$_+$$$$$+$$$+$$$$)() |
| </ | </ | ||