0

Hello how to multiplication(repeat) string in javascript

?

13th Feb 2021, 5:38 PM
Michal
Michal - avatar
2 Answers
+ 4
did you mean repeat string? console.log('123'.repeat(3)); # output: 123123123
13th Feb 2021, 6:13 PM
visph
visph - avatar
+ 1
What do you mean by "multiplication string" ?
13th Feb 2021, 6:02 PM
Abhay
Abhay - avatar