freeCodeCamp/guide/english/certifications/javascript-algorithms-and-data-structures/functional-programming
Gerard Hynes a30982e862 Add comments and update callback arguments' names (#36082)
* Add comments and update callback arguments' names

I've added a few comments to the solution and given the callback arguments more descriptive names to clarify what the solution is doing, since this challenge seemed a little more complex than the previous challenges.

* Update guide/english/certifications/javascript-algorithms-and-data-structures/functional-programming/use-the-reduce-method-to-analyze-data/index.md

That makes absolute sense and is clearer. Thank you.

Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

* Update indentation to be two-spaced
2019-05-19 10:45:34 -07:00
..
add-elements-to-the-end-of-an-array-using-concat-instead-of-push fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30
apply-functional-programming-to-convert-strings-to-url-slugs fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30
avoid-mutations-and-side-effects-using-functional-programming fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30
combine-an-array-into-a-string-using-the-join-method fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30
combine-two-arrays-using-the-concat-method fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30
implement-map-on-a-prototype Adding a second solution with a "for" loop (#35299) 2019-03-28 18:01:46 +05:30
implement-the-filter-method-on-a-prototype fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30
introduction-to-currying-and-partial-application fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30
learn-about-functional-programming fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30
pass-arguments-to-avoid-external-dependence-in-a-function fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30
refactor-global-variables-out-of-functions fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30
remove-elements-from-an-array-using-slice-instead-of-splice fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30
return-a-sorted-array-without-changing-the-original-array fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30
return-part-of-an-array-using-the-slice-method fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30
sort-an-array-alphabetically-using-the-sort-method fix: added better hint and solution (#35746) 2019-05-01 18:09:45 -04:00
split-a-string-into-an-array-using-the-split-method Explained solution and added alternate (#34718) 2019-03-08 14:41:08 -08:00
understand-functional-programming-terminology fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30
understand-the-hazards-of-using-imperative-code added full explanation and solution for the challenge (#34364) 2019-02-07 14:08:29 +01:00
use-higher-order-functions-map-filter-or-reduce-to-solve-a-complex-problem fix(curriculum): Rewrote the Write Higher-Order Arrow Functions challenge and moved to Functional Programming section (#35954) 2019-05-15 11:12:17 -05:00
use-the-every-method-to-check-that-every-element-in-an-array-meets-a-criteria fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30
use-the-filter-method-to-extract-data-from-an-array Additional solution to Functional JS challenge (#29052) 2019-03-11 14:07:47 -07:00
use-the-map-method-to-extract-data-from-an-array Add variable declaration (#34702) 2019-02-22 14:03:34 -08:00
use-the-reduce-method-to-analyze-data Add comments and update callback arguments' names (#36082) 2019-05-19 10:45:34 -07:00
use-the-some-method-to-check-that-any-elements-in-an-array-meet-a-criteria fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30
index.md fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30