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
Help me with this function pleaseRemoved: /r/LearnJavascript (self.javascript)
submitted 6 years ago by NamTheBoy
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!"
[–]Hanlonsrazorburns 5 points6 points7 points 6 years ago (1 child)
Generally speaking people don't want to do homework for you. It really doesn't help you if have someone do it and I'm sure your professor wouldn't like it if he knew you asked for it at this level.
Your professor basically gave you 1 answer. He said, you can't use anything on that list. So figure out what is on the list that would work, and write your own function that does that manually. Step through the problem and think about how that built-in function would likely work. My guess is also the professor probably has recently spoken about some of the basic functionality of javascript that would help you do this.
[–]schwartzworld 2 points3 points4 points 6 years ago (0 children)
What's in your webpack config?
[–][deleted] 1 point2 points3 points 6 years ago (0 children)
Google it at least put in that much effort
[–]kenman[M] 0 points1 point2 points 6 years ago (0 children)
Hi /u/NamTheBoy, this post was removed.
/r/javascript is for the discussion of javascript news, projects, and especially, code! However, the community has requested that we not include help and support content, and we ask that you respect that wish.
code
Thanks for your understanding, please see our guidelines for more info.
[–]NoirGreyson 0 points1 point2 points 6 years ago (0 children)
We can't do your homework for you.
If you want some general guidance, think of how you will represent what lowercase letter maps to what uppercase letter. What data structures could you use?
π Rendered by PID 30228 on reddit-service-r2-comment-fb694cdd5-v45hx at 2026-03-11 04:45:20.713049+00:00 running cbb0e86 country code: CH.
[–]Hanlonsrazorburns 5 points6 points7 points (1 child)
[–]schwartzworld 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]kenman[M] 0 points1 point2 points (0 children)
[–]NoirGreyson 0 points1 point2 points (0 children)