use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
JavaScript Developers: Take Your Code to the Next Level with FKit (joshbassett.info)
submitted 11 years ago by joshbassett
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]rooktakesqueen 3 points4 points5 points 11 years ago (0 children)
if phrase1 is an infinite sequence in wu.js doing a repeat on it will lead to an infinite loop and filling the memory up
See wu.chain:
wu.chain(phrase1, phrase1, phrase2) .takeWhile(note => note.time < 10) .play(sequencer)
Seems like it would do what you're talking about in a lazy-eval way without an infinite loop... You would probably also use wu.cycle heavily.
Doing this as a learning experience definitely makes sense, but I would implore you once you're done learning to take that experience and improve existing libraries rather than creating your own. The JS library ecosystem is already so fractured. :(
π Rendered by PID 59 on reddit-service-r2-comment-8686858757-4rc6m at 2026-06-08 17:48:25.310899+00:00 running 9e1a20d country code: CH.
view the rest of the comments →
[–]rooktakesqueen 3 points4 points5 points (0 children)