3 ms·
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. e.g. instead o
by sjclemmy 11y ago
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.
e.g.
instead of
1/4 === comp(1)
do
comp(1)
// returns 1/4
This might be my personal preference but it's the way it's written in the Mozilla javascript reference pages.
Other than that it looks great!