Skip to content

Commit f94fbe2

Browse files
TooTallNatesaghul
authored andcommitted
Make performance configurable
1 parent f0ef9e1 commit f94fbe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quickjs.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -51144,7 +51144,7 @@ void JS_AddPerformance(JSContext *ctx)
5114451144
JS_PROP_ENUMERABLE);
5114551145
JS_DefinePropertyValueStr(ctx, ctx->global_obj, "performance",
5114651146
js_dup(performance),
51147-
JS_PROP_ENUMERABLE);
51147+
JS_PROP_ENUMERABLE | JS_PROP_CONFIGURABLE);
5114851148
JS_FreeValue(ctx, performance);
5114951149
}
5115051150

0 commit comments

Comments
 (0)