We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7597fc7 commit 18c632cCopy full SHA for 18c632c
quickjs.c
@@ -400,7 +400,7 @@ struct JSContext {
400
JSValue global_obj; /* global object */
401
JSValue global_var_obj; /* contains the global let/const definitions */
402
403
- uint64_t time_origin;
+ double time_origin;
404
405
uint64_t random_state;
406
bf_context_t *bf_ctx; /* points to rt->bf_ctx, shared by all contexts */
@@ -51886,7 +51886,7 @@ void JS_AddIntrinsicTypedArrays(JSContext *ctx)
51886
51887
/* Performance */
51888
51889
-static uint64_t js__now_ms(void)
+static double js__now_ms(void)
51890
{
51891
return js__hrtime_ns() / 1e6;
51892
}
0 commit comments