Skip to content

Commit 5715c83

Browse files
author
Sascha Goldhofer
committed
chore: cleanup
1 parent d0b64ed commit 5715c83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/set.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ function addToArray(
5454
) {
5555
const target = result[0];
5656

57-
// append?
57+
// append item?
5858
if (/^\[\]$/.test(index)) {
5959
target.push(value);
6060
const i = target.length - 1;
6161
return [target[i], i, target, `${result[3]}/${i}}`];
6262
}
6363

64-
// MERGE_ITEMS?
64+
// merge array item?
6565
if (
6666
force == null &&
6767
getType(target[index]) === "object" &&

0 commit comments

Comments
 (0)