Skip to content

Commit 8874011

Browse files
Replace one remaining var by const
1 parent 23ab73b commit 8874011

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/1.1.1.1/other-ways-to-use-1.1.1.1/dns-in-google-sheets.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function NSLookup(type, domain, useCache = false, minCacheTTL = 30) {
8585
const outputData = [];
8686
let cacheTTL = 0;
8787

88-
for (var i in response.Answer) {
88+
for (const i in response.Answer) {
8989
outputData.push(response.Answer[i].data);
9090
const ttl = response.Answer[i].TTL;
9191
cacheTTL = Math.min(cacheTTL || ttl, ttl);

0 commit comments

Comments
 (0)