mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
js: DOM API. Part 1 (#12296)
This commit is contained in:
@ -917,3 +917,10 @@ pub fn (_rune string) utf32_code() int {
|
||||
|
||||
return res
|
||||
}
|
||||
|
||||
pub fn tos(jsstr JS.String) string {
|
||||
res := ''
|
||||
#res.str = jsstr
|
||||
|
||||
return res
|
||||
}
|
||||
|
Reference in New Issue
Block a user