Tell us what’s happening:
Maybe I’m stupid, maybe this developing thing is not for me. I’m a software engineering student, coursing 5th semester of 10. One of the programming languages I’ve liked most is this one: JavaScript. I’m a tireless man and a hard working person, soon I’ll be 36 years old and right now I feel I don’t get too much in reward from what I’m studying. It’s been very dificult for me to work in something I don’t like (I’m a beverages compay fleet cordinator) while I study what I’v always wanted. And I must say I like programming, but I’ve hadn’t enough time to dedicate to this. Because of COVID-19 I’ve had a little more of time for studying, and did great on Responsive web design module. But at this point of this Quincy’s JavaScript module i feel very stupid. I’m at the ES6 module on lesson 9 and I’ve seen the HINT help for 8 of the 9 lessons because I don’t know how to do’em. As much as I think about how to solve it, my head does not gets the solution. I feel very discouraged. I’ve seen many youtube videos, but I still don’t get the logic. Maybe you may check all the stupid questions I’ve made in others lessons. I’m a beginner at this, I know many of you here are pretty experts, I have only 1 year learning this web development thing, but my wishes are big, and I still want to keep learning, I still want to become a developer, but I feel I’m not in the right logic way.
I don’t want to solve 90% of these lessons with HINTS.
Please help.
Your code so far
const sum = (x, y, z) => {
const args = [x, y, z];
return args.reduce((a, b) => a + b, 0);
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36
.
Challenge: Use the Rest Parameter with Function Parameters
Link to the challenge: