Beta: order problem? map(), filter(), and reduce() have not been taught yet ,
See original GitHub issueChallenge write-higher-order-arrow-functions has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
.
Please describe how to reproduce this issue, and include links to screenshots if possible.
The challenges with map(), filter(), and reduce(), have not been taught yet, in this order.
const realNumberArray = [4, 5.6, -9.8, 3.14, 42, 6, 8.34];
// change code below this line
var squaredIntegers = realNumberArray;
// change code above this line
// test your code
console.log(squaredIntegers);
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Javascript: Map, Filter, and Reduce. | by Harsh Patel | Medium
This article will take a look at what I like to call the “three main” list functions: map, filter, and subtract. Wrapping your...
Read more >Higher Order Functions: Map, Filter, Reduce and more
In this article we'll focus on closures that are anonymously defined (i.e. defined inline without a name) also called unnamed closures. We can ......
Read more >Functional Programming in C#: Map, Filter, and Reduce
You can do functional programming in C#. Learn C# Map, Filter, and Reduce in order to help you write cleaner code that's easier...
Read more >Adding and editing user-defined dashboard filters | Looker
For example, the following Add Filter window shows the Explores that are presently used in the dashboard's tiles: the Flights Explore from the...
Read more >Customer Application Brief - Filtration for Parts Washers
has instituted guidelines restricting solvent usage in the parts cleaning ... debris, if not effectively reduced, will build up over time, changing the ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ooade - I think what @spieg is saying is that at this juncture, with the current order of the challenges, letting alone that many of the other ES6 challenges do not have test cases, is that the concepts for the array methods that are mentioned here have not yet been covered. So far as I can tell, we no longer have basic introductory challenges for
filter()
,map()
, andreduce()
. These are now introduced in the functional programming section, but are used in other challenges leading up to that. I think having basic intros to these concepts would be a good idea, earlier on in the curriculum.@no-stack-dub-sack this challenge is now live on https://learn.freecodecamp.org - would you be interested in making the fix (moving it, or writing a few quick challenges that introduce these functional JavaScript features prior to the functional programming section?)