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 cd9c52f commit 9620735Copy full SHA for 9620735
Runtime/src/object-heap.ts
@@ -29,7 +29,10 @@ export class JSObjectSpace {
29
return id;
30
}
31
32
- const newId = this._freeSlotStack.length > 0 ? this._freeSlotStack.pop()! : this._values.length;
+ const newId =
33
+ this._freeSlotStack.length > 0
34
+ ? this._freeSlotStack.pop()!
35
+ : this._values.length;
36
this._values[newId] = value;
37
this._refCounts[newId] = 1;
38
this._valueRefMap.set(value, newId);
0 commit comments