Repeat()
返回一个value的 Seq.Indexed 重复times次数。当times没有定义时,返回一个无限Seq的value。
Repeat<T>(value: T, times?: number): Seq.Indexed<T>示例
Repeat('foo') // ['foo','foo','foo',...]
Repeat('bar',4) // ['bar','bar','bar','bar']本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com

