主页
JS 参考手册
JavaScript String repeat() 方法
tryjsref_repeat
运行 ❯
×
更改方向
保存代码
更改主题
单击该按钮以显示提取的字符串部分。
试一试
注意:
IE 11(及更早版本)不支持 repeat() 方法。