freeCodeCamp/curriculum/challenges/english/02-javascript-algorithms-an.../functional-programming
petern 67cc558da6 Add solutions and update functional programming challenge instructions (#18931)
* feat: Update intro to currying

- Add solutions
- Add ES6 examples

* feat: Add solution to FP mutations

* feat: Add solution to function-programming map

- Add solutions, both vanilla and ES6 arrow functions
- Add JSON.stringify to console.log, makes it easier to see what the resulting output is rather than showing
e.g. [object, object, object]

* update: used the contributor's ES6 solution

Contributor originally had a non-ES6 solution and an ES6 solution.  I removed the non-ES6 solution.
2018-10-15 16:43:02 -07:00
..
add-elements-to-the-end-of-an-array-using-concat-instead-of-push.english.md fix(challenge-md): Fix quotes that failed in the transform 2018-10-08 11:38:26 +05:30
apply-functional-programming-to-convert-strings-to-url-slugs.english.md fix(challenge-md): Fix quotes that failed in the transform 2018-10-08 11:38:26 +05:30
avoid-mutations-and-side-effects-using-functional-programming.english.md Add solutions and update functional programming challenge instructions (#18931) 2018-10-15 16:43:02 -07:00
combine-an-array-into-a-string-using-the-join-method.english.md fix(challenge-md): Fix quotes that failed in the transform 2018-10-08 11:38:26 +05:30
combine-two-arrays-using-the-concat-method.english.md fix(challenge-md): Fix quotes that failed in the transform 2018-10-08 11:38:26 +05:30
implement-map-on-a-prototype.english.md fix(challenge-md): Fix quotes that failed in the transform 2018-10-08 11:38:26 +05:30
implement-the-filter-method-on-a-prototype.english.md fix(challenge-md): Fix quotes that failed in the transform 2018-10-08 11:38:26 +05:30
introduction-to-currying-and-partial-application.english.md Add solutions and update functional programming challenge instructions (#18931) 2018-10-15 16:43:02 -07:00
learn-about-functional-programming.english.md fix(challenge-md): Fix quotes that failed in the transform 2018-10-08 11:38:26 +05:30
pass-arguments-to-avoid-external-dependence-in-a-function.english.md fix(challenge-md): Fix quotes that failed in the transform 2018-10-08 11:38:26 +05:30
refactor-global-variables-out-of-functions.english.md fix(challenge-md): Fix quotes that failed in the transform 2018-10-08 11:38:26 +05:30
remove-elements-from-an-array-using-slice-instead-of-splice.english.md fix(challenge-md): Fix quotes that failed in the transform 2018-10-08 11:38:26 +05:30
return-a-sorted-array-without-changing-the-original-array.english.md fix(challenge-md): Fix quotes that failed in the transform 2018-10-08 11:38:26 +05:30
return-part-of-an-array-using-the-slice-method.english.md fix(challenge-md): Fix quotes that failed in the transform 2018-10-08 11:38:26 +05:30
sort-an-array-alphabetically-using-the-sort-method.english.md fix(challenge-md): Fix quotes that failed in the transform 2018-10-08 11:38:26 +05:30
split-a-string-into-an-array-using-the-split-method.english.md fix(challenge-md): Fix quotes that failed in the transform 2018-10-08 11:38:26 +05:30
understand-functional-programming-terminology.english.md fix(challenge-md): Fix quotes that failed in the transform 2018-10-08 11:38:26 +05:30
understand-the-hazards-of-using-imperative-code.english.md fix(challenge-md): Fix quotes that failed in the transform 2018-10-08 11:38:26 +05:30
use-the-every-method-to-check-that-every-element-in-an-array-meets-a-criteria.english.md fix(challenge-md): Fix quotes that failed in the transform 2018-10-08 11:38:26 +05:30
use-the-filter-method-to-extract-data-from-an-array.english.md fix(challenge-md): Fix quotes that failed in the transform 2018-10-08 11:38:26 +05:30
use-the-map-method-to-extract-data-from-an-array.english.md Add solutions and update functional programming challenge instructions (#18931) 2018-10-15 16:43:02 -07:00
use-the-reduce-method-to-analyze-data.english.md fix(challenge-md): Fix quotes that failed in the transform 2018-10-08 11:38:26 +05:30
use-the-some-method-to-check-that-any-elements-in-an-array-meet-a-criteria.english.md fix(challenge-md): Fix quotes that failed in the transform 2018-10-08 11:38:26 +05:30