i need to have a string repeated using a java script.. let's say i have this:
var txt = "a text "
msg = txt.repeat(2)
and i would like the output to be "a text a text", what method do i need to use in place of the repeat method? or what is the way to achieve this?
thank you very much!
just a sam7 -/-