I just stuck with it what do they refer as [id] [prop] and [value] here some please help me solve this. Record collection in Javascript(https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/record-collection)
This whole thing is an object
Its been given a variable name collection
It has properties and values
var collection = {
2548: { //<----- This number is the id
albumTitle: 'Slippery When Wet',//<-- albumTitle is the property[prop] and 'Slippery When Wet' is the value
artist: 'Bon Jovi',
tracks: ['Let It Rock', 'You Give Love a Bad Name']
}
}
Those are the ones referred to as id, prop and value.
it seems artist and tracks are also property?
That’s right so that should help you get started.
Thankyou for your help