I am receiving in my App an Array of text from a backend I have no control over
Array
this.Array = ["/tms/open-attachment/121", "/tms/open-attachment/122"]
I am trying to add "some text added here" to the beginning
this.Array = ["some text added here/tms/open-attachment/121", "some text added here/tms/open-attachment/122"]
Using
for (let m = 0; m <this.Array.length; m++) {
}
I have been able to add to the end of the text but not the front.
Is there an easy way to add some custom text to the beginning of the string?
Arrayis not a reseved word in JS ?new + aversusa + new.