Example for JavaScript String repeat() method. Make a new string by copying a string twice: Copy let str = "Hello world!"; str.repeat(2);.
確定! 回上一頁