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 a0eb353 commit feb1b44Copy full SHA for feb1b44
src/index.ts
@@ -85,9 +85,7 @@ export default (
85
| undefined,
86
index = the[keyIndex] as number,
87
siblings = the[keySiblings] as Record<string, unknown>[];
88
- const id = ((performance.now() * Math.random()) % 1)
89
- .toString(36)
90
- .slice(2);
+ const id = (Date.now() % Math.random()).toString(36).slice(2);
91
switch (true) {
92
case !!the[keyParent]:
93
siblings.splice(index + 1, 0, { [keyId]: id });
0 commit comments