more optimizations

This commit is contained in:
zefie
2025-08-11 15:18:58 -04:00
parent 6c32fc4190
commit 9c02abd7e1
30 changed files with 57 additions and 57 deletions

View File

@@ -229,7 +229,7 @@ class WTVTellyScriptTokenizer {
// Process as a constant.
let hexString = "";
if (checkSequence.startsWith("0x") || checkSequence.startsWith("0X")) {
hexString = checkSequence.substring(2);
hexString = checkSequence.slice(2);
} else {
hexString = parseInt(checkSequence, 10).toString(16).toUpperCase();
}