Manipulating Complex Objects, freeCodeCamp Basic Javascript

preview_player
Показать описание
In this challenge we learn about manipulating complex objects in javascript. Javascript complex objects can be manipulated in different ways, in this particular lesson we have an array which contains an object inside it which holds album data, we add a new album object with data within it including an properties with an array in it.
Рекомендации по теме
Комментарии
Автор

I couldn't figure out why my code wasn't running, it was that missing coma. Thanks for making this!

nicolaskao
Автор

THAT COMMA WAS THE REASON I AM EVEN HERE. Seriously lol. I couldn't get it to work and after trying for almost half an hour wondering why it wasn't working I come to this video to find out that comma that had to be added at the start was the entire reason for my frustration.

sharpavery
Автор

I can't understand why some people put thumb down on his videos. It has helped so many people. :(

Abaramotorai
Автор

How is this manipulation? We've just manually typed in a new object..

chrischrischris
Автор

For anyone whose code isn't running after pressing "Run the Test"; there needs to be a comma directly after the first object.

xgerbil
Автор

to "slack out" a little bit all i did here was just coppy paste the 2nd example album in the code, as it contains all the requested fiends, including an extra one "gold". {
"artist": "Daft Punk",
"title": "Homework",
"release_year": 1997,
"formats": [
"CD",
"Cassette",
"LP"
],
"gold": true
}

KarmaTHC