Skip to content

Commit 04307af

Browse files
richardddsaghul
authored andcommitted
Make "performance" global writable
1 parent 73cc00e commit 04307af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quickjs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54702,7 +54702,7 @@ void JS_AddPerformance(JSContext *ctx)
5470254702
JS_PROP_ENUMERABLE);
5470354703
JS_DefinePropertyValueStr(ctx, ctx->global_obj, "performance",
5470454704
js_dup(performance),
54705-
JS_PROP_ENUMERABLE | JS_PROP_CONFIGURABLE);
54705+
JS_PROP_WRITABLE | JS_PROP_ENUMERABLE | JS_PROP_CONFIGURABLE);
5470654706
JS_FreeValue(ctx, performance);
5470754707
}
5470854708

0 commit comments

Comments
 (0)