Record-collection problem

Record-collection problem

i dont understand says if If prop isn’t "tracks" but in the solution prop is equal to "tracks" and it confuses me.if somebody knows explain it to me please.

You need to consider the situation in which prop is equal to tracks and the situation in which it is not. If prop is not equal to "tracks" then the if statement is not executed, and the else if is executed

1 Like