1## Hoon/Javascript Analogies
3Below find a table of analogies between Hoon and Javascript terms that may be useful for learners. Note that these correspondences are mostly inexact and should serve only as guideposts on the path to
4comprehending Hoon on its own terms.
8 <td><strong>Hoon Term</strong></td>
9 <td><strong>Javascript Term</strong></td>
13 <td>the Map object</td>
17 <td>a key-value pair in the Map object</td>
21 <td>function invocation</td>
25 <td>the invoked function and its scope</td>
28 <td>=< ('tisgal')</td>
29 <td>takes two children</td>
32 <td>|= ('bartis')</td>
36 <td>=| ('tisbar')</td>
37 <td>declare a variable</td>
40 <td>|- ('barhep')</td>
41 <td>initialize a loop</td>
44 <td>?: ('wutcol')</td>
45 <td>initialize <strong>if</strong> statement</td>
48 <td>:- ('colhep')</td>
49 <td>somewhat similar to the "return" keyword in a much expanded form</td>
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list