dashboard
repositories
filestore
activity
search
login
javascript-vorlesung
/
example-projects-2025
summary
reflog
commits
tree
tickets
docs
forks
compare
blame
|
history
|
raw
init
Hong-Phuc Bui
2024-10-16
f8613c9ce2bd4b74b11727d2eae204f49151bcba
[javascript-vorlesung/example-projects-2025.git]
/
plot-experiment
/
src
/
timeout.js
1
2
3
4
5
6
7
8
9
10
11
function calculator(x) {
x = x + 1;
console.log(`x = ${x}`);
}
let n = 10;
for(let i = 0; i < n; ++i) {
console.log(`for-loop ${i}`);
setTimeout(calculator, 0, i);
}