Surprised this wasn't included

Tell us what’s happening:
Describe your issue in detail here.

I thought this was an obvious answer and was surprised not to see it in the hints (I almost always check them to see if i’m doing things the ‘normal’ or ‘expected’ way…)

  **Your code so far**

const s = [5, 7, 2];
function editInPlace() {
// Only change code below this line

return  s
// Using s = [2, 5, 7] would be invalid

// Only change code above this line
  **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: Mutate an Array Declared with const

Link to the challenge:

Technically the challenge calls for array element assignments.

Are you sure this is correct? I think you are rotating the numbers the wrong way.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.