support v 50 and 51 by not allowing const in loops
This commit is contained in:
parent
bb6c747297
commit
6111e71506
2 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
function arrayToHex(iv) {
|
||||
let hexStr = '';
|
||||
// eslint-disable-next-line prefer-const
|
||||
for (let i in iv) {
|
||||
if (iv[i] < 16) {
|
||||
hexStr += '0' + iv[i].toString(16);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue