Value.newArrayFromGarray

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

context javascriptcore.context.Context

a #JSCContext

array javascriptcore.value.Value[]

a #GPtrArray

Return Value

Type: javascriptcore.value.Value

a #JSCValue.