I found the way the examples are written confusing at first glance. 
I think the norm is to call the function and then show the returned output.<p>e.g.
instead of<p>1&#x2F;4 === comp(1)<p>do<p>comp(1)<p>&#x2F;&#x2F; returns 1&#x2F;4<p>This might be my personal preference but it&#x27;s the way it&#x27;s written in the Mozilla javascript reference pages.<p>Other than that it looks great!