Skip to content

Commit 9620735

Browse files
committed
format
1 parent cd9c52f commit 9620735

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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)