Yahoo Web Search

Search results

  1. Record Collection Problem Explanation This problem is hard if you are new to JavaScript or programming, so don’t worry if you get stuck or need to ask for help. Asking for help is better than looking at the answer. It is important to understand the overall goal of this function and then write code that supports that goal. The id parameter corresponds to a specific album object in the records ...

  2. Mar 5, 2023 · Complete the function using the rules below to modify the object passed to the function. Your function must always return the entire record collection object. If prop isn’t tracks and value isn’t an empty string, update or set that album’s prop to value. If prop is tracks but the album doesn’t have a tracks property, create an empty ...

  3. Apr 12, 2023 · Record Collection. You are creating a function that aids in the maintenance of a musical album collection. The collection is organized as an object that contains multiple albums which are also objects. Each album is represented in the collection with a unique id as the property name.

  4. Oct 29, 2020 · You are given a JSON object representing a part of your musical album collection. Each album has a unique id number as its key and several other properties. Not all albums have complete information. You start with an updateRecords function that takes an object like collection , an id , a prop (like artist or tracks ), and a value . Complete the function using the rules below to modify the ...

  5. Dec 14, 2023 · Hello @abdu_abudrais ! You may wish to take a look at this great guidance from Jessica Wilkens on How to solve the Record Collection.

  6. Jun 24, 2023 · Okay, we’ve passed in the record collection, and we’re telling it to update 123’s album property to “Bad Album”. But we get an error:

  7. Sep 27, 2018 · I was doing the Record Collection challenge in Basic Javascript, my code completes 6 of the 7 conditions. I have checked the hints and understood the solution given there.

  8. Nov 21, 2023 · Tell us what’s happening: Describe your issue in detail here. can anyone find me the bug. Your code so far // Setup const recordCollection = { 2548: { albumTitle: 'Slippery When Wet', artist: 'Bon Jovi', …

  9. May 9, 2021 · azad1: updateRecords(records, id, prop, value) The function arguments are defined outside of your function and passed in. You don’t declare or define the values of the arguments inside of your function. That defeats the purpose of reusable functions. records is always an object, like the sample recordCollection.

  10. Dec 22, 2022 · My post is less about needing help and more about understanding the expectations of the course, or more specifically, the Record Collection task. I feel as though I was understanding everything decently up until this point. I was, however, completely stumped with this one. I looked at the hint and eventually the solutions and now fully understand, but I’m wondering…is the expectation such ...