We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03bd21c commit 9839fd1Copy full SHA for 9839fd1
src/translator/adverb.ts
@@ -20,6 +20,8 @@ export function extractNegativeFromAdverbs(
20
if (index === -1) {
21
return null;
22
} else {
23
- return [...adverb].splice(index, 1);
+ const spliced = [...adverb];
24
+ spliced.splice(index, 1);
25
+ return spliced;
26
}
27
src/translator/determiner.ts
@@ -140,7 +140,9 @@ export function extractNegativeFromDeterminers(
140
141
142
143
- return [...determiner].splice(index, 1);
+ const spliced = [...determiner];
144
145
146
147
148
function encodeDeterminer(
0 commit comments