Tell us what’s happening:
Your code so far
function mixedNumbers(arr) {
// change code below this line
arr.unshift("I");
arr.unshift(2);
arr.unshift("'three'");
arr.push(7);
arr.push("'VIII'");
arr.push(9);
// change code above this line
return arr;
}
// do not change code below this line
console.log(mixedNumbers(['IV', 5, 'six']));
Your browser information:
User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
.
Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-data-structures/add-items-to-an-array-with-push-and-unshift