We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30c780c commit 71579a7Copy full SHA for 71579a7
1 file changed
saltgui/static/scripts/index.js
@@ -18,8 +18,7 @@ window.onerror = function (msg, url, lineNo, columnNo, error) {
18
if (!Object.fromEntries) {
19
Object.fromEntries = function (pairs) {
20
const obj = {};
21
- for (let i = 0; i < pairs.length; i++) {
22
- const pair = pairs[i];
+ for (const pair of pairs) {
23
obj[pair[0]] = pair[1];
24
}
25
return obj;
0 commit comments