Skip to content

Commit ee7a5a7

Browse files
Update app.js
setInterval function is being invoked every millisecond -> changing it to 2000ms
1 parent 8a545e7 commit ee7a5a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ setInterval(function(str1, str2) {
3434
//console.log(logs[i])
3535
i++
3636
if (i == logs.length) i = 0
37-
}, 1, "Hello.", "How are you?");
37+
}, 2000, "Hello.", "How are you?");
3838

3939
function makeid(length) {
4040
var text = "";

0 commit comments

Comments
 (0)