I have completed the record collection challenge but there is a question if i write:
records.id.prop=value; //line 1
records.id.prop.push(value); //line 2
the challenge is not passed but when i write:
records[id][prop]=value; //line 3
records[id][prop].push(value); //line 4
the challenge is passed.
whats the difference between line1 and line3 and line2 and line4?