Value.newString

Create a new #JSCValue from string. If you need to create a #JSCValue from a string containing null characters, use javascriptcore.value.Value.newStringFromBytes instead.

class Value
static
newString

Parameters

context javascriptcore.context.Context

a #JSCContext

string_ string

a null-terminated string

Return Value

Type: javascriptcore.value.Value

a #JSCValue.