js: fix strings module (#11353)

This commit is contained in:
playX 2021-08-31 17:10:19 +03:00 committed by GitHub
parent a208138283
commit f8aaf4bf67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 22 deletions

View file

@ -9,6 +9,7 @@ pub fn repeat(c byte, n int) string {
}
pub fn repeat_string(s string, n int) string {
return ''
/*
// TODO: uncomment this. It is commented for now, so that `v doc strings` works
res := # s.repeat(n)