New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Object Oriented and Functional Programming DESPERATELY needs rewrite! #9403
Comments
/cc @FreeCodeCamp/issue-moderators Again as mentioned in #9404 we could have supplementary MDN links however let's see how this can be re-written? |
I think that the challenge is clear enough |
@manicmarvin thanks for the feedback. Maybe we can expand the example code a bit to show what the var oldArray = [1, 2, 3];
var timesFour = oldArray.map(function(val){
return val * 4;
});
console.log(timesFour); // returns [4, 8, 12]
console.log(oldArray); // returns [1, 2, 3] This line needs to be changed to
What these changes should look like To contributors, please first read the contributing guidelines before taking care of this issue. And feel free to visit the Contributors Help chat room if you have any questions about helping. We're there to help. |
@erictleung That's super clear! Thank you. |
I'll take this one as my first potential commit if that's okay. |
Challenge Iterate over Arrays with map has an issue.
The description of this waypoint is completely inadequate. It reads:
It does not really explain the syntax, what results the map method produces and requires readers to speak CSspeak and decipher many implicit unstated things.
I am struggling to understand anything in the section Object Oriented and Functional Programming, not because the concepts are difficult but because the lessons are poorly constructed. I'm referring to Crockford, Eloquent JS and Codeacademy to provide information written in a manner that I can understand.
Forgive my shortness, I just hope that my suggestion that this need a rewrite is taken up.
The text was updated successfully, but these errors were encountered: