!460 fix codecheck of 5.0.1 release

Merge pull request !460 from bayanxing/OpenHarmony-5.0.1-Release
This commit is contained in:
openharmony_ci 2024-10-16 08:03:32 +00:00 committed by Gitee
commit 7d2030fd01
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 4 additions and 2 deletions

View File

@ -18,7 +18,8 @@ const MOVE_TWELVE = 12;
const MOVE_SIX = 6;
function utf8ArrayToStr(array) {
let char2, char3;
let char2 = '';
let char3 = '';
let outStr = '';
let len = array.length;

View File

@ -69,7 +69,8 @@ function utf8ArrayToStr(array) {
let i;
let len;
let c;
let char2, char3;
let char2 = '';
let char3 = '';
out = '';
len = array.length;