docs icon indicating copy to clipboard operation
docs copied to clipboard

[Edit] JavaScript Arrays: `.reduce()`

Open pinalpithadiya opened this issue 3 years ago • 9 comments

Type of Edit (select all that apply)

Add new content (definitions, codeblocks, etc.)

Description (optional)

The reduce method of array works weirdly on complex structure i.e. reducing array of objects. please add an example for the complex structure to it.

Code of Conduct

  • [X] I agree to follow Codecademy Doc's Code of Conduct

For Maintainers

  • [x] Labels added
  • [x] Issue is assigned

pinalpithadiya avatar Mar 14 '22 19:03 pinalpithadiya

Hi, I'm interested in contributing to this issue. Would adding a simple example of reduce with an array of objects be enough or should an explanation be provided?

ghost avatar May 01 '22 02:05 ghost

@ddwildin A brief explanation with the example should be provided. May I assign you to this?

KTom101 avatar May 08 '22 03:05 KTom101

I am sorry for the delayed response, yes, you can work on it, there are simple examples already, you need to add the explanation to whatever you are adding there.

pinalpithadiya avatar May 09 '22 12:05 pinalpithadiya

Hey @ddwildin 👋🏻 this is Brandon from the Codecademy Free Team. I just wanted to check in and ask how you were doing and see if you had any questions about making a PR for this issue?

Dusch4593 avatar Jul 18 '22 14:07 Dusch4593

Hello, I am interested in working on this issue. Can I add a .reduce() method example with a brief description of how it works?

cesscode avatar Aug 22 '22 18:08 cesscode

@cesscode You're assigned! To answer your question, my recommendation would be to edit the existing "Codebyte Example" section and replace the current codebyte snippet with a more complex use-case of .reduce() (i.e., reducing an array of objects).

Dusch4593 avatar Aug 22 '22 19:08 Dusch4593

Hello, I can't seem to find the "Codebyte Example". I took the Codecademy open source course, and I want to make my first contribution. I will love you to help me out maybe

cesscode avatar Aug 22 '22 22:08 cesscode

@cesscode The "Codebyte Example" can be found towards the bottom of the JS arrays .reduce() entry here: https://www.codecademy.com/resources/docs/javascript/arrays/reduce

Dusch4593 avatar Aug 22 '22 22:08 Dusch4593

Hey @cesscode how are you? Just wanted to check in and see how everything has been with writing the content for this issue? Anything I can do to help?

Dusch4593 avatar Sep 16 '22 22:09 Dusch4593

Hello @Dusch4593 can i try this i have good understanding of how javascript works

im-vipin avatar Oct 03 '22 04:10 im-vipin

Hey @itsvipindev! This issue is presently assigned to someone. Feel free to continue working on the PRs for the issues you're currently assigned to. 😄

Dusch4593 avatar Oct 03 '22 16:10 Dusch4593

Hey @cesscode, since there've been several weeks without activity, I'm going to unassign you so someone else can work on this. Please feel free to sign up for another issue when you have time.

@imvipindev, are you still interested in this issue?

SSwiniarski avatar Oct 30 '22 13:10 SSwiniarski

Hi, I would like to work on this issue as part of the Codecademy Learn Git & GitHub course.

oliviap103 avatar Oct 31 '22 15:10 oliviap103

@oliviap103, I've assigned you. Thanks for contributing.

SSwiniarski avatar Oct 31 '22 16:10 SSwiniarski

May I be assigned to this I issue. I could make a contribution for this. Thanks.

fjorwb avatar Nov 02 '22 15:11 fjorwb

@fjorwb, the issue is already assigned to @oliviap103. If you want to contribute, there are still plenty of unassigned issues.

SSwiniarski avatar Nov 02 '22 16:11 SSwiniarski

Thank you for your prompt response. Anyways, please let me know if it could not be accomplished.

fjorwb avatar Nov 02 '22 16:11 fjorwb