mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
js: DOM API. Part 1 (#12296)
This commit is contained in:
parent
0ff23eeb74
commit
cfecb62299
17 changed files with 1032 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue