i want to show mant ‘s’ , so my code is :
alert('s'*3)
but it is not running good ,
so i have to :
var str='';
for(var i=0;i<3;i++)
str+='s'
alert(str)
but it is not easy ,
so did you know some more easy way to show many same word ?
thanks
Here is a nice function: http://rosettacode.org/wiki/Repeat_a_string#JavaScript