Hi
Try as I might, I can’t figure this task out out.
The task is “Arrays 3” on this page - https://developer.mozilla.org/en-US/docs/Learn/JavaScript/First_steps/Test_your_skills:_Arrays
My code is:
https://jsfiddle.net/Davros23/yuq0hk8b/4/
From what I’ve read elsewhere, the line
name += (${index})
;
should update the names in the array from “name” to “name(0)” ,”name(1)” etc.
Why is it not working in this instance?
Any advice would be gratefully received.
Thanks,
Davva