Skip to content

Commit

Permalink
Arrays small refactor [refactor]
Browse files Browse the repository at this point in the history
  • Loading branch information
overlookmotel committed Sep 25, 2023
1 parent df23de5 commit 03c708a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/serialize/arrays.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function serializeArray(record) {
// `wrapWithProperties()` does not know that adding integer-keyed properties also alters `length`.
existingProps.push({
key: 'length',
valRecord: this.traceValue(index),
valRecord: this.traceValue(length),
getRecord: undefined,
setRecord: undefined,
writable: true,
Expand Down

0 comments on commit 03c708a

Please sign in to comment.