I have an array = ["a", "b", "c"];
What I want is i have an string let us say "Hello", that I want to append to each and every value of this array.
My expected output is something like
["Hello_a", "Hello_b", "Hello_c"]
Is there any shortcut in javascript to perform this operation, without using any loop .
Any help is appreciated !
Thanks
.map(x => 'Hello_' + x)- does it count as a loop?