s/var/let/
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user