Lint improvements

This commit is contained in:
n1474335 2017-10-03 17:14:40 +00:00
parent a997ec0695
commit 72c79c684b
3 changed files with 285 additions and 283 deletions

View file

@ -409,7 +409,7 @@ const Utils = {
* Utils.strToCharcode("你好");
*/
strToCharcode: function(str) {
const charcode = new Array();
const charcode = [];
for (let i = 0; i < str.length; i++) {
let ord = str.charCodeAt(i);