v.gen.js: add more array tests and fixes (#11014)

This commit is contained in:
playX 2021-08-01 14:08:49 +03:00 committed by GitHub
parent 77e9ed417f
commit 836ac54d12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 356 additions and 15 deletions

View file

@ -3,7 +3,7 @@ module builtin
pub struct string {
pub:
str JS.String
len u32
len int
}
pub fn (s string) slice(a int, b int) string {