js: codegen fixes, W.I.P os availability for JS backend (#11281)

This commit is contained in:
playX 2021-08-23 14:25:02 +03:00 committed by GitHub
parent 47278b4a7d
commit d78e7e3b2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 635 additions and 274 deletions

View file

@ -239,3 +239,7 @@ pub fn (a array) contains(key voidptr) bool {
pub fn (mut a array) delete_last() {
#a.val.arr.pop();
}
[unsafe]
pub fn (a array) free() {
}