Function javascriptcore_sys::JSValueMakeNumber
[−]
[src]
pub unsafe extern "C" fn JSValueMakeNumber(
ctx: JSContextRef,
number: f64
) -> JSValueRef
Creates a JavaScript value of the number type.
ctx: The execution context to use.number: Thef64to assign to the newly createdJSValue.
Returns a JSValue of the number type, representing the value of number.