pub unsafe fn new_date(context: *mut JSContext) -> Result<JSValueRef, JsError>
Expand description

create a new instance of a Date object

Safety

When passing a context pointer please make sure the corresponding QuickJsContext is still valid