JSObjectMakeDate top-level property

JSObjectRef Function(JSContextRef ctx, int argumentCount, Pointer<JSValueRef> arguments, Pointer<JSValueRef> exception) JSObjectMakeDate
final

Creates a JavaScript Date object, as if by invoking the built-in Date constructor. ctx The execution context to use. argumentCount An integer count of the number of arguments in arguments. arguments A JSValue array of arguments to pass to the Date Constructor. Pass NULL if argumentCount is 0. exception A pointer to a JSValueRef in which to store an exception, if any. Pass NULL if you do not care to store an exception. @result A JSObject that is a Date.

Implementation

final JSObjectRef Function(JSContextRef ctx, int argumentCount, Pointer<JSValueRef> arguments, Pointer<JSValueRef> exception) JSObjectMakeDate =
    jscLib.lookup<NativeFunction<JSObjectRef Function(JSContextRef ctx, Size argumentCount, Pointer<JSValueRef> arguments, Pointer<JSValueRef> exception)>>('JSObjectMakeDate').asFunction();