6.7 重复字符串

repeat() 方法用于生成重复字符串:

> 'doo '.repeat(3)
'doo doo doo '

results matching ""

    No results matching ""