Y
Hacker News
new
|
ask
|
show
|
jobs
by
wizzwizz4
1770 days ago
It's a tutorial, so there's a benefit to writing out the separate function in the article, but given that it's “in JavaScript” I agree with your suggestion.
1 comments
bryanbraun
1769 days ago
Haha, yeah I discovered this after I wrote it. Probably worth going back and updating.
link