I can’t get my code to pass. Can anyone tell me why not?
Your code so far
function mixedNumbers(arr) {
// Only change code below this line
arr.unshift('three');
arr.unshift(2);
arr.unshift('I');
arr.push('7');
arr.push('VIII');
arr.push(9);
// Only change code above this line
return arr;
}
console.log(mixedNumbers(['IV', 5, 'six']));
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15.
Challenge: Add Items to an Array with push() and unshift()