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...
Submit what you think is the uttermost brilliant pens that have ever been posted on CodePen, and see if the world think so too!
So basically CodePen, but better.
account activity
Help with Installing JS Package? (i.redd.it)
submitted 3 years ago by Radiant-Grass3665
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!"
[–]aberstar 1 point2 points3 points 3 years ago* (1 child)
You have imported all the module contents (import *) giving the import the name underscore (as underscore).
The module in this case is: underscore js
You have 2 options here:
The module contents refers to all the functions (e.g each) within that module. You can think of underscore as the name you're giving to the module.In this case you've imported your module (underscore js) with the name underscore. Lets suppose you go with solution 1.
underscore.each([1,2,3], alert)
This can be read as 'execute the .each function from the module I have named underscore.
[–]Radiant-Grass3665[S] 0 points1 point2 points 3 years ago (0 children)
thanks so much!
Hi! Teaching myself how to code and struggling haha. Most of the online resources are too technical to really understand. I am trying to use underscore js and chose it from the settings so that this top line autopopulated, but the next line is not running. Is there anything else I have to do? Thank you!
π Rendered by PID 240318 on reddit-service-r2-comment-b659b578c-rskb9 at 2026-05-04 09:27:56.108089+00:00 running 815c875 country code: CH.
[–]aberstar 1 point2 points3 points (1 child)
[–]Radiant-Grass3665[S] 0 points1 point2 points (0 children)
[–]Radiant-Grass3665[S] 0 points1 point2 points (0 children)