js: DOM API. Part 1 (#12296)

This commit is contained in:
playX 2021-10-27 23:18:09 +03:00 committed by GitHub
parent 0ff23eeb74
commit cfecb62299
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 1032 additions and 2 deletions

View file

@ -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
}