const rapperArray = ["Lil' Kim", "Jay-Z", "Notorious B.I.G.", "Tupac"];
// Write your code below
for (let i = 0; i < rapperArray.length; i++){
// Task 1 to log each rapper to console
console.log(rapperArray[i]);
// Task 2 to check if the current rapper is 'Notorious B.I.G' and break if it is
if (rapperArray[i] === 'Notorious B.I.G.'){
break;
}
}
// Task 3 to write to console
console.log("And if you don't know, now you know.");