s/var/let/
This commit is contained in:
parent
4db845a4b1
commit
8972130252
20 changed files with 481 additions and 479 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue