Ok I am brand new with javascript and for some reason these arrays are exactly the same but I only edit one, any ideas?
let array = ["one", "two", "three", "four"]
let newArray = array
newArray.forEach((element,i) => {
newArray[i] = element+"_done"
})
console.log(array)
console.log(newArray)
Any ideas, this is my first question, so please don't be to harsh I am still learning.