Value.newArrayFromGarray

javascriptcore.value.Value newArrayFromGarray(javascriptcore.context.Context context, javascriptcore.value.Value[] array = null) static nothrow

Create a new #JSCValue referencing an array with the items from array. If array is null or empty a new empty array will be created. Elements of array should be pointers to a #JSCValue.

Parameters

contexta #JSCContext
arraya #GPtrArray

Returns

a #JSCValue.