Fix typos

This commit is contained in:
Viktor Szépe
2024-07-20 13:50:44 +00:00
parent 1b3e5e818c
commit fab7eae1ff
24 changed files with 44 additions and 44 deletions
+1 -1
View File
@@ -361,7 +361,7 @@ function init_inputs(target_type) {
}
// Return a two-element array of the substring preceding and the substring following
// the first occurence of separator in string. Return [undefined, string] if the
// the first occurrence of separator in string. Return [undefined, string] if the
// separator does not appear in string.
const split1_rest = (string, separator) => {
const index = string.indexOf(separator);