Mutate array declared with Const

Hello, suggesting a shorter solution that passed

Lesson link

const s = [5, 7, 2];

function editInPlace() {
  'use strict';


Hello there.

Thank you, for your contribution. For future contributions, please wrap your solution within :

code goes here...
1 Like

Thanks, I’ll keep that in mind

I like the suggestion; however, I don’t think that it fits the requirement

using various element assignment.