Advertisement
silvana1303

repeat string

Apr 8th, 2021
716
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function  solve(text, count){
  2.  
  3.     let output = text.repeat(count);
  4.  
  5.     console.log(output);
  6.  
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement