Add Items Using splice()0,1 or is it 0,2?

Tell us what’s happening:
the instructions say to remove the first two elements, wich i think would be 0 and 1, but the test will not pass unless you use 0 and 2? or am i missunderstanding something???

Your code so far

function htmlColorNames(arr) {
  // change code below this line
    arr.splice(0,2, "DarkSalmon", "BlanchedAlmond");
  // change code above this line
  return arr;
// do not change code below this line
console.log(htmlColorNames(['DarkGoldenRod', 'WhiteSmoke', 'LavenderBlush', 'PaleTurqoise', 'FireBrick']));

Your browser information:

User Agent is: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0.

Link to the challenge:

From MDN docs about the second parameter:

An integer indicating the number of elements in the array to remove from start .

So arr.splice(0, 1) is removing only 1 element since the start (in your case, 0).
Thus, removing only the element at index 0.

yea thanks man i got it just after i asked for help, too many hours awake kills judgement