Skip to content

Commit c8f4d76

Browse files
authored
Update 10setTimeout.js
1 parent fbc7704 commit c8f4d76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CoreFundamentals/10setTimeout.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ function x(){
44
function close(x){
55
setTimeout(function(){
66
console.log(x);
7-
},i*1000);
7+
},x*1000);
88
}
99
close(i);
1010
}

0 commit comments

Comments
 (0)