Skip to content

Commit 1503f17

Browse files
committed
format
1 parent 3d2ab5f commit 1503f17

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Runtime/src/object-heap.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ export class JSObjectSpace {
2929
return id;
3030
}
3131

32-
const newId = this._freeSlotStack.length > 0 ? this._freeSlotStack.pop()! : this._values.length;
32+
const newId =
33+
this._freeSlotStack.length > 0
34+
? this._freeSlotStack.pop()!
35+
: this._values.length;
3336
this._values[newId] = value;
3437
this._refCounts[newId] = 1;
3538
this._valueRefMap.set(value, newId);

0 commit comments

Comments
 (0)