mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
js: fix string.bytes codegen, readline, add tests for strings
(#12060)
This commit is contained in:
@ -9,10 +9,8 @@ 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)
|
||||
res := ''
|
||||
#res.str = s.str.repeat(n.valueOf())
|
||||
|
||||
return res
|
||||
*/
|
||||
}
|
||||
|
Reference in New Issue
Block a user