I want my code to concat a array with its index, using Join
x=['G','r','e','e','t'] x.join(${index}
) then x should be G0r1e2e3t4
can I achieve this using join?
Via Active questions tagged javascript - Stack Overflow https://ift.tt/fEQJCwVA site where you can share knowledge
I want my code to concat a array with its index, using Join
x=['G','r','e','e','t'] x.join(${index}
) then x should be G0r1e2e3t4
can I achieve this using join?
Via Active questions tagged javascript - Stack Overflow https://ift.tt/fEQJCwV
Comments
Post a Comment