ES6 - Use Destructuring Assignment to Pass an Object as a Function's Parameters - Free Code Camp

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

I swear, if I didn't have your videos to learn through your thought process I would have smashed my computer by now. Thanks U.P.!

armanterrell
Автор

Man I really like the way you explain. Straight forward to the point plus your voice is nice to listen and I do not feel like I am sitting in front of a boring teacher ;)

juliettegensel
Автор

Fantastic solution. Watching you think out loud really helped me figure out how I'm supposed to approach these kinds of problems

koltonwilliams
Автор

Man, you really are a life saver, this playlists are awesome to undestand what is going on.

jptorito
Автор

Thank you, that actually helped me understand destructuring and passing this codecamp exercise

michaeladair
Автор

i literraly watch every single video...

YoAbdi
Автор

I completely forgot to add in the return statement.. (facepalm)

troyhackney
Автор

When you pass the data through in-place like the second example, how does the function know what object you are referencing?

also, thanks for the series. it's been a huge help!


EDIT: never mind, should have watched the whole thing first, my bad. thanks again, that helped a ton

briandavis
Автор

Thank you very much fot this verbose solution! It is great that you explain things that they don't in the quest. They seem to make it harder now, as they now updated it and removed console.log() on the bottom, so you have to typ it yourself to test it. I understand it should be more difficult, but what really does my head in these exercises is that variables are declared but you can't see it in the code and I find it more difficult to understand... I am guessing real life code would include declarations?
Anyhow, thank you once again!

astratow
Автор

When you run the test the first two objectives are correct because of the console.log(stats);
console.log(half(stats)); Mr. Ian and then I go the rest of the answers correct with const half = ({max, min}) => {
return (max + min) / 2.0;
}

zken
Автор

its not working ... i test test test not passing...