constness

This commit is contained in:
Girish Ramakrishnan
2022-04-14 17:41:41 -05:00
parent 685bda35b9
commit 05d7a7f496
25 changed files with 75 additions and 77 deletions
+2 -2
View File
@@ -360,9 +360,9 @@ async function checkMx(domain, mailFqdn) {
}
function txtToDict(txt) {
var dict = {};
const dict = {};
txt.split(';').forEach(function(v) {
var p = v.trim().split('=');
const p = v.trim().split('=');
dict[p[0]]=p[1];
});
return dict;