Tell us what’s happening:
Describe your issue in detail here.
Hi
I solved this but expected to fail - I don’t understand when the array was created, i.e. I didn’t need to “return 'var arr = ” anywhere in the code block so I can’t see what generated the array in my correct solution.
Thanks.
**Your code so far**
function mixedNumbers(arr) {
// Only change code below this line
arr.unshift('I',2,'three');
arr.push(7, 'VIII',9)
// Only change code above this line
return arr;
}
console.log(mixedNumbers(['IV', 5, 'six']));
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36
Challenge: Add Items to an Array with push() and unshift()