Function quickjs_runtime::quickjs_utils::dates::new_date

source ·
pub unsafe fn new_date(
    context: *mut JSContext,
) -> Result<QuickJsValueAdapter, 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