test method removed

This commit is contained in:
mic 2024-10-04 21:08:37 +02:00
parent 19586bc6ef
commit 4f80aa888b

View file

@ -132,17 +132,4 @@ self.onmessage = async function(event) {
stopStreaming = true;
break; //stop
}
};
// Function to split a string in half
function splitStringInHalf(inputString) {
// Get the middle index of the string
const middleIndex = Math.ceil(inputString.length / 2);
// Split the string into two halves
const firstHalf = inputString.slice(0, middleIndex);
const secondHalf = inputString.slice(middleIndex);
return { firstHalf, secondHalf };
}
};