Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vishal-raj-1/Awesome-JavaScript-Projects
/ runLoop
Function
runLoop
assets/js/gameOfLife_js/gameOfLife.js:133–136 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
131
132
// loop to run and update the grid
133
const
runLoop = () => {
134
draw();
135
update();
136
}
137
138
//event listeners
139
window.addEventListener(
"load"
, () => {
Callers
1
gameOfLife.js
File · 0.85
Calls
2
draw
Function · 0.70
update
Function · 0.70
Tested by
no test coverage detected