Record Collection in basic JS

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(

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.

1 Like

it seems artist and tracks are also property?

That’s right so that should help you get started.

1 Like

Thankyou for your help