mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 18:44:47 +01:00
Object array must be filled with NULL
This commit is contained in:
parent
617301b165
commit
425e14c6b6
@ -43,7 +43,7 @@ public abstract class NonGC {
|
||||
@Import( js = "(l) => new Float64Array(l)" )
|
||||
native static double[] array_new_f64( int length );
|
||||
|
||||
@Import( js = "(l) => Object.seal(new Array(l))" )
|
||||
@Import( js = "(l) => Object.seal(new Array(l).fill(null))" )
|
||||
native static Object[] array_new_anyref( int length );
|
||||
|
||||
@Import( js = "(a) => a.length" )
|
||||
|
Loading…
x
Reference in New Issue
Block a user