Skip to content

Commit be9b8fa

Browse files
author
Erwin Dondorp
committed
y
1 parent 87e4f2b commit be9b8fa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

saltgui/static/scripts/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ window.onerror = function (msg, url, lineNo, columnNo, error) {
1818
if (!Object.fromEntries) {
1919
Object.fromEntries = function (pairs) {
2020
const obj = {};
21-
for (let i = 0; i < pairs.length; i++) {
22-
const pair = pairs[i];
21+
for (const pair of pairs) {
2322
obj[pair[0]] = pair[1];
2423
}
2524
return obj;

0 commit comments

Comments
 (0)