Jv.Jarray
JavaScript arrays.
type t = jv
The type for JavaScript arrays.
val create : int -> t
create n is an array of length n.
create n
n
val length : t -> int
length a is the array length.
length a
val get : t -> int -> t
get a i is the value of array a at index i.
get a i
a
i
val set : t -> int -> t -> unit
set a i sets the value of array a at index i to v.
set a i
v