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 436c636 commit 9e1fa49Copy full SHA for 9e1fa49
packages/debugger/src/inspector/serialize.ts
@@ -88,7 +88,7 @@ function encode<TEl extends object>(
88
// Arrays
89
else if (Array.isArray(value)) {
90
;(encoded as EncodedValue<ValueType.Array>)[0] = ValueType.Array
91
- if (Deep && value.length > 0) {
+ if (Deep) {
92
let data: number[] = Array(value.length)
93
for (let i = 0; i < value.length; i++) {
94
data[i] = encode(value[i], eli)
0 commit comments