pub unsafe fn keys<C: Fn(JSValueRef) -> Result<R, JsError>, R>(
    ctx: *mut JSContext,
    map: &JSValueRef,
    consumer_producer: C
) -> Result<Vec<R>, JsError>
Expand description

iterate over all keys of a map

Safety

please ensure the passed JSContext is still valid