syed_faheem
ServiceNow Employee

Hi Sridhar


You will need to add below function to define repeat.



function repeat(str, num) {


                      var holder = [];


                      for(var i=0; i<num; i++) {


                                              holder.push(str);


                      }


                      return holder.join('');


}



Cheers


Syed