Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vishal-raj-1/Awesome-JavaScript-Projects
/ resetBoard
Function
resetBoard
assets/js/Memory_game.js:48–51 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
46
}
47
48
function
resetBoard() {
49
[hasFlippedCard, lockBoard] = [false, false];
50
[firstCard, secondCard] = [null, null];
51
}
52
53
(
function
shuffle() {
54
cards.forEach(card => {
Callers
2
disableCards
Function · 0.85
unflipCards
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected