Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js repeat

function repeatStr (n, s) {
  return s.repeat(n)
}
/////////////////////////////similar///////////////////////////////////////////
repeatStr = (n, s) => s.repeat(n);
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #js #repeat
ADD COMMENT
Topic
Name
8+1 =