Tell us what’s happening:
Describe your issue in detail here.
**Your code so far**
const s = [5, 7, 2];
function editInPlace() {
// Only change code below this line
const s = [2,5,7];
// Only change code above this line
}
editInPlace();
console.log(s)
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36 Edg/91.0.864.64
The first thing to fix is that you don’t want to declare a new array s inside of the function body because you want to update the global array s that is created above the function.