Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SuperSimpleDev/javascript-course
/ 12w.js
File
12w.js
1-exercise-solutions/lesson-12/12w.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
// See 12r.js for the full code.
2
document.body.addEventListener(
'keydown'
, (event) => {
3
if
(event.key ===
'r'
) {
4
playGame(
'rock'
);
Callers
nothing calls this directly
Calls
3
playGame
Function · 0.70
autoPlay
Function · 0.70
resetScore
Function · 0.70
Tested by
no test coverage detected