mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
js: add initial support for runes (#12077)
This commit is contained in:
@@ -7,3 +7,7 @@ pub fn utf8_str_visible_length(s string) int {
|
||||
|
||||
return res
|
||||
}
|
||||
|
||||
pub fn utf8_str_len(s string) int {
|
||||
return s.len
|
||||
}
|
||||
|
Reference in New Issue
Block a user