mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
Fix crashy bug
Former-commit-id: 76162477e0c315599b375dd2aba0acdc58864b59
This commit is contained in:
@@ -347,8 +347,7 @@ JSC__JSValue JSC__JSValue__createStringArray(JSC__JSGlobalObject *globalObject,
|
||||
arg2))) {
|
||||
|
||||
for (size_t i = 0; i < arg2; ++i) {
|
||||
array->initializeIndexWithoutBarrier(initializationScope, i,
|
||||
JSC::jsString(vm, Zig::toStringCopy(arg1[i])));
|
||||
array->putDirectIndex(globalObject, i, JSC::jsString(vm, Zig::toStringCopy(arg1[i])));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user