Skip to content

Commit 72c79c6

Browse files
committed
Lint improvements
1 parent a997ec0 commit 72c79c6

File tree

3 files changed

+285
-283
lines changed

3 files changed

+285
-283
lines changed

src/core/Utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ const Utils = {
409409
* Utils.strToCharcode("你好");
410410
*/
411411
strToCharcode: function(str) {
412-
const charcode = new Array();
412+
const charcode = [];
413413

414414
for (let i = 0; i < str.length; i++) {
415415
let ord = str.charCodeAt(i);

0 commit comments

Comments
 (0)