Skip to content

Commit 7199d5c

Browse files
committed
Use property access instead of String#charAt
1 parent d060bb8 commit 7199d5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/build.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export const build = (statics) => {
8484
}
8585

8686
for (let j=0; j<statics[i].length; j++) {
87-
char = statics[i].charAt(j);
87+
char = statics[i][j];
8888

8989
if (mode === MODE_TEXT && char === '<') {
9090
// commit buffer

0 commit comments

Comments
 (0)