s/var/let/

This commit is contained in:
Simon Ser 2021-06-10 18:11:11 +02:00
parent 4db845a4b1
commit 8972130252
20 changed files with 481 additions and 479 deletions

View file

@ -15,9 +15,9 @@ function isDigit(ch) {
}
export function strip(text) {
var out = "";
for (var i = 0; i < text.length; i++) {
var ch = text[i];
let out = "";
for (let i = 0; i < text.length; i++) {
let ch = text[i];
switch (ch) {
case BOLD:
case ITALIC: